Package com.vmware.nsx_policy.model
Class StaticIpListSpec.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.StaticIpListSpec.Builder
-
- Enclosing class:
- StaticIpListSpec
public static final class StaticIpListSpec.Builder extends java.lang.Object
Builder class forStaticIpListSpec
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofStaticIpListSpec
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticIpListSpec
build()
StaticIpListSpec.Builder
setDefaultGateway(java.lang.String defaultGateway)
Gateway IP format: ipStaticIpListSpec.Builder
setIpList(java.util.List<java.lang.String> ipList)
List of IPs for transport node host switch virtual tunnel endpoints format: ipStaticIpListSpec.Builder
setSubnetMask(java.lang.String subnetMask)
Subnet mask format: ip
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofStaticIpListSpec
.
-
-
Method Detail
-
setDefaultGateway
public StaticIpListSpec.Builder setDefaultGateway(java.lang.String defaultGateway)
Gateway IP format: ip- Parameters:
defaultGateway
- New value for the property.
-
setIpList
public StaticIpListSpec.Builder setIpList(java.util.List<java.lang.String> ipList)
List of IPs for transport node host switch virtual tunnel endpoints format: ip- Parameters:
ipList
- New value for the property.
-
setSubnetMask
public StaticIpListSpec.Builder setSubnetMask(java.lang.String subnetMask)
Subnet mask format: ip- Parameters:
subnetMask
- New value for the property.
-
build
public StaticIpListSpec build()
-
-