Package com.vmware.nsx_policy.model
Class StaticPoolConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.StaticPoolConfig.Builder
-
- Enclosing class:
- StaticPoolConfig
public static final class StaticPoolConfig.Builder extends java.lang.Object
Builder class forStaticPoolConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofStaticPoolConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticPoolConfig
build()
StaticPoolConfig.Builder
setIpv4PoolSize(java.lang.Long ipv4PoolSize)
Number of IPs to be reserved in static ip pool.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofStaticPoolConfig
.
-
-
Method Detail
-
setIpv4PoolSize
public StaticPoolConfig.Builder setIpv4PoolSize(java.lang.Long ipv4PoolSize)
Number of IPs to be reserved in static ip pool. Maximum allowed value is 'subnet size - 4'. If dhcp is enabled then by default static ipv4 pool size will be zero and all available IPs will be reserved in local dhcp pool. If dhcp is deactivated then by default all IPs will be reserved in static ip pool. format: int32- Parameters:
ipv4PoolSize
- New value for the property.
-
build
public StaticPoolConfig build()
-
-