NetworkDevicePatchParametersProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.fluent.models.NetworkDevicePatchParametersProperties

Implements

public final class NetworkDevicePatchParametersProperties
implements JsonSerializable<NetworkDevicePatchParametersProperties>

Network Device Patch properties.

Constructor Summary

Constructor Description
NetworkDevicePatchParametersProperties()

Creates an instance of NetworkDevicePatchParametersProperties class.

Method Summary

Modifier and Type Method and Description
String annotation()

Get the annotation property: Switch configuration description.

static NetworkDevicePatchParametersProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkDevicePatchParametersProperties from the JsonReader.

String hostname()

Get the hostname property: The host name of the device.

IdentitySelectorPatch identitySelector()

Get the identitySelector property: The selection of the managed identity to use with this storage account.

String serialNumber()

Get the serialNumber property: Serial number of the device.

JsonWriter toJson(JsonWriter jsonWriter)
NetworkDevicePatchParametersProperties withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

NetworkDevicePatchParametersProperties withHostname(String hostname)

Set the hostname property: The host name of the device.

NetworkDevicePatchParametersProperties withIdentitySelector(IdentitySelectorPatch identitySelector)

Set the identitySelector property: The selection of the managed identity to use with this storage account.

NetworkDevicePatchParametersProperties withSerialNumber(String serialNumber)

Set the serialNumber property: Serial number of the device.

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:

the annotation value.

fromJson

public static NetworkDevicePatchParametersProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkDevicePatchParametersProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkDevicePatchParametersProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NetworkDevicePatchParametersProperties.

hostname

public String hostname()

Get the hostname property: The host name of the device.

Returns:

the hostname value.

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:

the identitySelector value.

serialNumber

public String serialNumber()

Get the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.

Returns:

the serialNumber value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAnnotation

public NetworkDevicePatchParametersProperties withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

Parameters:

annotation - the annotation value to set.

Returns:

the NetworkDevicePatchParametersProperties object itself.

withHostname

public NetworkDevicePatchParametersProperties withHostname(String hostname)

Set the hostname property: The host name of the device.

Parameters:

hostname - the hostname value to set.

Returns:

the NetworkDevicePatchParametersProperties object itself.

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:

identitySelector - the identitySelector value to set.

Returns:

the NetworkDevicePatchParametersProperties object itself.

withSerialNumber

public NetworkDevicePatchParametersProperties withSerialNumber(String serialNumber)

Set the serialNumber property: Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.

Parameters:

serialNumber - the serialNumber value to set.

Returns:

the NetworkDevicePatchParametersProperties object itself.

Applies to