WorkloadNetworkSegmentSubnet Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. WorkloadNetworkSegmentSubnet
- com.
Implements
public final class WorkloadNetworkSegmentSubnet
implements JsonSerializable<WorkloadNetworkSegmentSubnet>
Subnet configuration for segment.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkloadNetworkSegmentSubnet() |
Creates an instance of Workload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
dhcpRanges()
Get the dhcp |
|
static
Workload |
fromJson(JsonReader jsonReader)
Reads an instance of Workload |
| String |
gatewayAddress()
Get the gateway |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Workload |
withDhcpRanges(List<String> dhcpRanges)
Set the dhcp |
|
Workload |
withGatewayAddress(String gatewayAddress)
Set the gateway |
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:
fromJson
public static WorkloadNetworkSegmentSubnet fromJson(JsonReader jsonReader)
Reads an instance of WorkloadNetworkSegmentSubnet from the JsonReader.
Parameters:
Returns:
Throws:
gatewayAddress
public String gatewayAddress()
Get the gatewayAddress property: Gateway address.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDhcpRanges
public WorkloadNetworkSegmentSubnet withDhcpRanges(List<String> dhcpRanges)
Set the dhcpRanges property: DHCP Range assigned for subnet.
Parameters:
Returns:
withGatewayAddress
public WorkloadNetworkSegmentSubnet withGatewayAddress(String gatewayAddress)
Set the gatewayAddress property: Gateway address.
Parameters:
Returns: