इसके माध्यम से साझा किया गया


WorkloadNetworkSegmentSubnet Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentSubnet

Implements

public final class WorkloadNetworkSegmentSubnet
implements JsonSerializable<WorkloadNetworkSegmentSubnet>

Subnet configuration for segment.

Constructor Summary

Constructor Description
WorkloadNetworkSegmentSubnet()

Creates an instance of WorkloadNetworkSegmentSubnet class.

Method Summary

Modifier and Type Method and Description
List<String> dhcpRanges()

Get the dhcpRanges property: DHCP Range assigned for subnet.

static WorkloadNetworkSegmentSubnet fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkSegmentSubnet from the JsonReader.

String gatewayAddress()

Get the gatewayAddress property: Gateway address.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkloadNetworkSegmentSubnet withDhcpRanges(List<String> dhcpRanges)

Set the dhcpRanges property: DHCP Range assigned for subnet.

WorkloadNetworkSegmentSubnet withGatewayAddress(String gatewayAddress)

Set the gatewayAddress property: Gateway address.

Methods inherited from java.lang.Object

Constructor Details

WorkloadNetworkSegmentSubnet

public WorkloadNetworkSegmentSubnet()

Creates an instance of WorkloadNetworkSegmentSubnet class.

Method Details

dhcpRanges

public List<String> dhcpRanges()

Get the dhcpRanges property: DHCP Range assigned for subnet.

Returns:

the dhcpRanges value.

fromJson

public static WorkloadNetworkSegmentSubnet fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkSegmentSubnet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gatewayAddress

public String gatewayAddress()

Get the gatewayAddress property: Gateway address.

Returns:

the gatewayAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDhcpRanges

public WorkloadNetworkSegmentSubnet withDhcpRanges(List<String> dhcpRanges)

Set the dhcpRanges property: DHCP Range assigned for subnet.

Parameters:

dhcpRanges - the dhcpRanges value to set.

Returns:

the WorkloadNetworkSegmentSubnet object itself.

withGatewayAddress

public WorkloadNetworkSegmentSubnet withGatewayAddress(String gatewayAddress)

Set the gatewayAddress property: Gateway address.

Parameters:

gatewayAddress - the gatewayAddress value to set.

Returns:

the WorkloadNetworkSegmentSubnet object itself.

Applies to