Package com.vmware.nsx_policy.model
Class PolicyAntreaIPPool.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyAntreaIPPool.Builder
-
- Enclosing class:
- PolicyAntreaIPPool
public static final class PolicyAntreaIPPool.Builder extends java.lang.ObjectBuilder class forPolicyAntreaIPPool.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyAntreaIPPool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyAntreaIPPoolbuild()PolicyAntreaIPPool.BuildersetDisplayName(java.lang.String displayName)The name of kubernetes resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyAntreaIPPool.BuildersetExternalId(java.lang.String externalId)The id of kubernetes resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyAntreaIPPool.BuildersetIpRanges(java.util.List<PolicyAntreaIPPoolIPRange> ipRanges)The ip_ranges of antrea ippool resource
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyAntreaIPPool.
-
-
Method Detail
-
setDisplayName
public PolicyAntreaIPPool.Builder setDisplayName(java.lang.String displayName)
The name of kubernetes resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
displayName- New value for the property.
-
setExternalId
public PolicyAntreaIPPool.Builder setExternalId(java.lang.String externalId)
The id of kubernetes resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
externalId- New value for the property.
-
setIpRanges
public PolicyAntreaIPPool.Builder setIpRanges(java.util.List<PolicyAntreaIPPoolIPRange> ipRanges)
The ip_ranges of antrea ippool resource- Parameters:
ipRanges- New value for the property.
-
build
public PolicyAntreaIPPool build()
-
-