Package com.vmware.nsx_policy.model
Class PolicyGroupAntreaIPPoolCluster.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyGroupAntreaIPPoolCluster.Builder
-
- Enclosing class:
- PolicyGroupAntreaIPPoolCluster
public static final class PolicyGroupAntreaIPPoolCluster.Builder extends java.lang.ObjectBuilder class forPolicyGroupAntreaIPPoolCluster.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyGroupAntreaIPPoolCluster.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyGroupAntreaIPPoolClusterbuild()PolicyGroupAntreaIPPoolCluster.BuildersetAntreaIpPools(java.util.List<PolicyAntreaIPPool> antreaIpPools)PolicyGroupAntreaIPPoolCluster.BuildersetDisplayName(java.lang.String displayName)The name of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyGroupAntreaIPPoolCluster.BuildersetExternalId(java.lang.String externalId)The id of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyGroupAntreaIPPoolCluster.
-
-
Method Detail
-
setAntreaIpPools
public PolicyGroupAntreaIPPoolCluster.Builder setAntreaIpPools(java.util.List<PolicyAntreaIPPool> antreaIpPools)
- Parameters:
antreaIpPools- New value for the property.
-
setDisplayName
public PolicyGroupAntreaIPPoolCluster.Builder setDisplayName(java.lang.String displayName)
The name of kubernetes cluster 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 PolicyGroupAntreaIPPoolCluster.Builder setExternalId(java.lang.String externalId)
The id of kubernetes cluster 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.
-
build
public PolicyGroupAntreaIPPoolCluster build()
-
-