Compartilhar via


VirtualApplianceIpConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VirtualApplianceIpConfiguration

Implements

public final class VirtualApplianceIpConfiguration
implements JsonSerializable<VirtualApplianceIpConfiguration>

Represents a single IP configuration.

Constructor Summary

Constructor Description
VirtualApplianceIpConfiguration()

Creates an instance of VirtualApplianceIpConfiguration class.

Method Summary

Modifier and Type Method and Description
static VirtualApplianceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceIpConfiguration from the JsonReader.

String name()

Get the name property: Name of the IP configuration.

VirtualApplianceIpConfigurationProperties properties()

Get the properties property: Represents a single IP configuration properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualApplianceIpConfiguration withName(String name)

Set the name property: Name of the IP configuration.

VirtualApplianceIpConfiguration withProperties(VirtualApplianceIpConfigurationProperties properties)

Set the properties property: Represents a single IP configuration properties.

Methods inherited from java.lang.Object

Constructor Details

VirtualApplianceIpConfiguration

public VirtualApplianceIpConfiguration()

Creates an instance of VirtualApplianceIpConfiguration class.

Method Details

fromJson

public static VirtualApplianceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceIpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualApplianceIpConfiguration 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 VirtualApplianceIpConfiguration.

name

public String name()

Get the name property: Name of the IP configuration.

Returns:

the name value.

properties

public VirtualApplianceIpConfigurationProperties properties()

Get the properties property: Represents a single IP configuration properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public VirtualApplianceIpConfiguration withName(String name)

Set the name property: Name of the IP configuration.

Parameters:

name - the name value to set.

Returns:

the VirtualApplianceIpConfiguration object itself.

withProperties

public VirtualApplianceIpConfiguration withProperties(VirtualApplianceIpConfigurationProperties properties)

Set the properties property: Represents a single IP configuration properties.

Parameters:

properties - the properties value to set.

Returns:

the VirtualApplianceIpConfiguration object itself.

Applies to