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