Class WorkloadNetworkSegmentSubnet
java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentSubnet
Subnet configuration for segment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkSegmentSubnet class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dhcpRanges property: DHCP Range assigned for subnet.Get the gatewayAddress property: Gateway address.void
validate()
Validates the instance.withDhcpRanges
(List<String> dhcpRanges) Set the dhcpRanges property: DHCP Range assigned for subnet.withGatewayAddress
(String gatewayAddress) Set the gatewayAddress property: Gateway address.
-
Constructor Details
-
WorkloadNetworkSegmentSubnet
public WorkloadNetworkSegmentSubnet()Creates an instance of WorkloadNetworkSegmentSubnet class.
-
-
Method Details
-
dhcpRanges
Get the dhcpRanges property: DHCP Range assigned for subnet.- Returns:
- the dhcpRanges value.
-
withDhcpRanges
Set the dhcpRanges property: DHCP Range assigned for subnet.- Parameters:
dhcpRanges
- the dhcpRanges value to set.- Returns:
- the WorkloadNetworkSegmentSubnet object itself.
-
gatewayAddress
Get the gatewayAddress property: Gateway address.- Returns:
- the gatewayAddress value.
-
withGatewayAddress
Set the gatewayAddress property: Gateway address.- Parameters:
gatewayAddress
- the gatewayAddress value to set.- Returns:
- the WorkloadNetworkSegmentSubnet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-