NetworkBootstrapDevicePatch Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. TagsUpdate - com.
azure. resourcemanager. managednetworkfabric. models. NetworkBootstrapDevicePatch
- com.
- com.
public final class NetworkBootstrapDevicePatch
extends TagsUpdate
The Network Bootstrap Device Patch Parameters defines the patch parameters of the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkBootstrapDevicePatch() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
annotation()
Get the annotation property: Switch configuration description. |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
hostName()
Get the host |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| String |
serialNumber()
Get the serial |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Network |
withAnnotation(String annotation)
Set the annotation property: Switch configuration description. |
|
Network |
withHostName(String hostName)
Set the host |
|
Network |
withIdentity(ManagedServiceIdentityPatch identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Network |
withSerialNumber(String serialNumber)
Set the serial |
|
Network |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from TagsUpdate
Methods inherited from java.lang.Object
Constructor Details
NetworkBootstrapDevicePatch
public NetworkBootstrapDevicePatch()
Creates an instance of NetworkBootstrapDevicePatch class.
Method Details
annotation
public String annotation()
Get the annotation property: Switch configuration description.
Returns:
fromJson
public static NetworkBootstrapDevicePatch fromJson(JsonReader jsonReader)
Reads an instance of NetworkBootstrapDevicePatch from the JsonReader.
Parameters:
Returns:
Throws:
hostName
public String hostName()
Get the hostName property: The host name of the device.
Returns:
identity
public ManagedServiceIdentityPatch identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkBootstrapDevicePatch.toJson(JsonWriter jsonWriter)Parameters:
Throws:
withAnnotation
public NetworkBootstrapDevicePatch withAnnotation(String annotation)
Set the annotation property: Switch configuration description.
Parameters:
Returns:
withHostName
public NetworkBootstrapDevicePatch withHostName(String hostName)
Set the hostName property: The host name of the device.
Parameters:
Returns:
withIdentity
public NetworkBootstrapDevicePatch withIdentity(ManagedServiceIdentityPatch identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withSerialNumber
public NetworkBootstrapDevicePatch withSerialNumber(String serialNumber)
Set the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
Parameters:
Returns:
withTags
public NetworkBootstrapDevicePatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
NetworkBootstrapDevicePatch.withTags(Map<String,String> tags)Parameters: