NetworkDevicePatchParametersProperties Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. fluent. models. NetworkDevicePatchParametersProperties
- com.
Implements
public final class NetworkDevicePatchParametersProperties
implements JsonSerializable<NetworkDevicePatchParametersProperties>
Network Device Patch properties.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkDevicePatchParametersProperties() |
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 hostname property: The host name of the device. |
|
Identity |
identitySelector()
Get the identity |
| 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 hostname property: The host name of the device. |
|
Network |
withIdentitySelector(IdentitySelectorPatch identitySelector)
Set the identity |
|
Network |
withSerialNumber(String serialNumber)
Set the serial |
Methods inherited from java.lang.Object
Constructor Details
NetworkDevicePatchParametersProperties
public NetworkDevicePatchParametersProperties()
Creates an instance of NetworkDevicePatchParametersProperties class.
Method Details
annotation
public String annotation()
Get the annotation property: Switch configuration description.
Returns:
fromJson
public static NetworkDevicePatchParametersProperties fromJson(JsonReader jsonReader)
Reads an instance of NetworkDevicePatchParametersProperties from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the device.
Returns:
identitySelector
public IdentitySelectorPatch identitySelector()
Get the identitySelector property: The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
Returns:
toJson
withAnnotation
public NetworkDevicePatchParametersProperties withAnnotation(String annotation)
Set the annotation property: Switch configuration description.
Parameters:
Returns:
withHostname
public NetworkDevicePatchParametersProperties withHostname(String hostname)
Set the hostname property: The host name of the device.
Parameters:
Returns:
withIdentitySelector
public NetworkDevicePatchParametersProperties withIdentitySelector(IdentitySelectorPatch identitySelector)
Set the identitySelector property: The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned.
Parameters:
Returns:
withSerialNumber
public NetworkDevicePatchParametersProperties withSerialNumber(String serialNumber)
Set the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
Parameters:
Returns: