CustomizationIpSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.models.CustomizationIpSettings

Implements

public final class CustomizationIpSettings
implements JsonSerializable<CustomizationIpSettings>

The CustomizationIpSettings model.

Constructor Summary

Constructor Description
CustomizationIpSettings()

Creates an instance of CustomizationIpSettings class.

Method Summary

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

Reads an instance of CustomizationIpSettings from the JsonReader.

List<String> gateway()

Get the gateway property: The list of gateways.

CustomizationIpAddress ip()

Get the ip property: Ip address customization settings.

String subnetMask()

Get the subnetMask property: Adapter subnet mask.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomizationIpSettings withGateway(List<String> gateway)

Set the gateway property: The list of gateways.

CustomizationIpSettings withIp(CustomizationIpAddress ip)

Set the ip property: Ip address customization settings.

CustomizationIpSettings withSubnetMask(String subnetMask)

Set the subnetMask property: Adapter subnet mask.

Methods inherited from java.lang.Object

Constructor Details

CustomizationIpSettings

public CustomizationIpSettings()

Creates an instance of CustomizationIpSettings class.

Method Details

fromJson

public static CustomizationIpSettings fromJson(JsonReader jsonReader)

Reads an instance of CustomizationIpSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gateway

public List<String> gateway()

Get the gateway property: The list of gateways.

Returns:

the gateway value.

ip

public CustomizationIpAddress ip()

Get the ip property: Ip address customization settings.

Returns:

the ip value.

subnetMask

public String subnetMask()

Get the subnetMask property: Adapter subnet mask.

Returns:

the subnetMask value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGateway

public CustomizationIpSettings withGateway(List<String> gateway)

Set the gateway property: The list of gateways.

Parameters:

gateway - the gateway value to set.

Returns:

the CustomizationIpSettings object itself.

withIp

public CustomizationIpSettings withIp(CustomizationIpAddress ip)

Set the ip property: Ip address customization settings.

Parameters:

ip - the ip value to set.

Returns:

the CustomizationIpSettings object itself.

withSubnetMask

public CustomizationIpSettings withSubnetMask(String subnetMask)

Set the subnetMask property: Adapter subnet mask.

Parameters:

subnetMask - the subnetMask value to set.

Returns:

the CustomizationIpSettings object itself.

Applies to