NetworkBootstrapDevicePatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. fluent. models. NetworkBootstrapDevicePatchProperties
- com.
Implements
public final class NetworkBootstrapDevicePatchProperties
implements JsonSerializable<NetworkBootstrapDevicePatchProperties>
Network Bootstrap Device Patch properties.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkBootstrapDevicePatchProperties() |
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 |
| 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 |
withSerialNumber(String serialNumber)
Set the serial |
Methods inherited from java.lang.Object
Constructor Details
NetworkBootstrapDevicePatchProperties
public NetworkBootstrapDevicePatchProperties()
Creates an instance of NetworkBootstrapDevicePatchProperties class.
Method Details
annotation
public String annotation()
Get the annotation property: Switch configuration description.
Returns:
fromJson
public static NetworkBootstrapDevicePatchProperties fromJson(JsonReader jsonReader)
Reads an instance of NetworkBootstrapDevicePatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
hostName
public String hostName()
Get the hostName property: The host name of the device.
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 NetworkBootstrapDevicePatchProperties withAnnotation(String annotation)
Set the annotation property: Switch configuration description.
Parameters:
Returns:
withHostName
public NetworkBootstrapDevicePatchProperties withHostName(String hostName)
Set the hostName property: The host name of the device.
Parameters:
Returns:
withSerialNumber
public NetworkBootstrapDevicePatchProperties withSerialNumber(String serialNumber)
Set the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
Parameters:
Returns: