Package com.vmware.nsx_policy.model
Class CommonAgentPrivateIpRangeInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CommonAgentPrivateIpRangeInfo.Builder
-
- Enclosing class:
- CommonAgentPrivateIpRangeInfo
public static final class CommonAgentPrivateIpRangeInfo.Builder extends java.lang.Object
Builder class forCommonAgentPrivateIpRangeInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofCommonAgentPrivateIpRangeInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonAgentPrivateIpRangeInfo
build()
CommonAgentPrivateIpRangeInfo.Builder
setAddress(java.lang.String address)
The prefix of IP address that marks the range of private network.CommonAgentPrivateIpRangeInfo.Builder
setAddressType(java.lang.String addressType)
Possible values are:CommonAgentPrivateIpRangeInfo.ADDRESS_TYPE_IPV4
CommonAgentPrivateIpRangeInfo.ADDRESS_TYPE_IPV6
The type of IP address.CommonAgentPrivateIpRangeInfo.Builder
setPrefixLength(java.lang.Long prefixLength)
The length of IP address prefix that marks the range of private network.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCommonAgentPrivateIpRangeInfo
.
-
-
Method Detail
-
setAddress
public CommonAgentPrivateIpRangeInfo.Builder setAddress(java.lang.String address)
The prefix of IP address that marks the range of private network. format: ip- Parameters:
address
- New value for the property.
-
setAddressType
public CommonAgentPrivateIpRangeInfo.Builder setAddressType(java.lang.String addressType)
Possible values are: The type of IP address.- Parameters:
addressType
- New value for the property.
-
setPrefixLength
public CommonAgentPrivateIpRangeInfo.Builder setPrefixLength(java.lang.Long prefixLength)
The length of IP address prefix that marks the range of private network. format: int64- Parameters:
prefixLength
- New value for the property.
-
build
public CommonAgentPrivateIpRangeInfo build()
-
-