Package com.vmware.nsx_policy.model
Class StaticIpAllocation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.StaticIpAllocation.Builder
-
- Enclosing class:
- StaticIpAllocation
public static final class StaticIpAllocation.Builder extends java.lang.Object
Builder class forStaticIpAllocation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofStaticIpAllocation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticIpAllocation
build()
StaticIpAllocation.Builder
setEnabled(java.lang.Boolean enabled)
Enable ip and mac addresse allocation for VPC Subnet ports from static ip pool.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofStaticIpAllocation
.
-
-
Method Detail
-
setEnabled
public StaticIpAllocation.Builder setEnabled(java.lang.Boolean enabled)
Enable ip and mac addresse allocation for VPC Subnet ports from static ip pool. To enable this, dhcp pool shall be empty and static ip pool shall own all available ip addresses.- Parameters:
enabled
- New value for the property.
-
build
public StaticIpAllocation build()
-
-