Package com.vmware.nsx_policy.model
Class VpcSubnetStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VpcSubnetStatus.Builder
-
- Enclosing class:
- VpcSubnetStatus
public static final class VpcSubnetStatus.Builder extends java.lang.ObjectBuilder class forVpcSubnetStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofVpcSubnetStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpcSubnetStatusbuild()VpcSubnetStatus.BuildersetDhcpRanges(java.lang.String dhcpRanges)DHCP address ranges are used for dynamic IP allocation.VpcSubnetStatus.BuildersetDhcpServerAddress(java.lang.String dhcpServerAddress)Dhcp server IP address.VpcSubnetStatus.BuildersetGatewayAddress(java.lang.String gatewayAddress)Gateway address of the VPC SubnetVpcSubnetStatus.BuildersetIpAddressType(java.lang.String ipAddressType)Possible values are:VpcSubnetStatus.IP_ADDRESS_TYPE_IPV4VpcSubnetStatus.IP_ADDRESS_TYPE_IPV6This defines the IP address type that will be allocated for VPC Subnets.VpcSubnetStatus.BuildersetNetworkAddress(java.lang.String networkAddress)Network address of the VPC SubnetVpcSubnetStatus.BuildersetStaticIpPoolPath(java.lang.String staticIpPoolPath)Static IP Pool used to allocate IPs.VpcSubnetStatus.BuildersetStaticIpPoolRange(java.lang.String staticIpPoolRange)Static IP address ranges used for IP allocation.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVpcSubnetStatus.
-
-
Method Detail
-
setDhcpRanges
public VpcSubnetStatus.Builder setDhcpRanges(java.lang.String dhcpRanges)
DHCP address ranges are used for dynamic IP allocation. Existing values cannot be deleted or modified- Parameters:
dhcpRanges- New value for the property.
-
setDhcpServerAddress
public VpcSubnetStatus.Builder setDhcpServerAddress(java.lang.String dhcpServerAddress)
Dhcp server IP address.- Parameters:
dhcpServerAddress- New value for the property.
-
setGatewayAddress
public VpcSubnetStatus.Builder setGatewayAddress(java.lang.String gatewayAddress)
Gateway address of the VPC Subnet- Parameters:
gatewayAddress- New value for the property.
-
setIpAddressType
public VpcSubnetStatus.Builder setIpAddressType(java.lang.String ipAddressType)
Possible values are: This defines the IP address type that will be allocated for VPC Subnets.- Parameters:
ipAddressType- New value for the property.
-
setNetworkAddress
public VpcSubnetStatus.Builder setNetworkAddress(java.lang.String networkAddress)
Network address of the VPC Subnet- Parameters:
networkAddress- New value for the property.
-
setStaticIpPoolPath
public VpcSubnetStatus.Builder setStaticIpPoolPath(java.lang.String staticIpPoolPath)
Static IP Pool used to allocate IPs. For ex, for DHCP static binding, LB VIP etc. This will also have pool usage inforamation.- Parameters:
staticIpPoolPath- New value for the property.
-
setStaticIpPoolRange
public VpcSubnetStatus.Builder setStaticIpPoolRange(java.lang.String staticIpPoolRange)
Static IP address ranges used for IP allocation.- Parameters:
staticIpPoolRange- New value for the property.
-
build
public VpcSubnetStatus build()
-
-