Package com.vmware.nsx_policy.model
Class IPSubnet.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSubnet.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSubnet
build()
IPSubnet.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
All IP addresses, some of which may be automatically configured.IPSubnet.Builder
setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSubnet
.
-
-
Method Detail
-
setIpAddresses
public IPSubnet.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
All IP addresses, some of which may be automatically configured. When updating this field, the payload may contain only the IP addresses that should be changed, or may contain the IP addresses to change as well as the automatically assigned addresses. Currently, only one updatable address and one system-maintained address are supported. Currently, the system-maintained address supported is Extended Unique Identifier(EUI)-64 address. EUI-64 address is generated by the system only when user configured ip-subnet has prefix length less than or equal to 64. format: ip- Parameters:
ipAddresses
- New value for the property.
-
setPrefixLength
public IPSubnet.Builder setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length format: int64- Parameters:
prefixLength
- New value for the property.
-
build
public IPSubnet build()
-
-