Package com.vmware.nsx_policy.model
Class PolicyGroupPodCidrCluster.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyGroupPodCidrCluster.Builder
-
- Enclosing class:
- PolicyGroupPodCidrCluster
public static final class PolicyGroupPodCidrCluster.Builder extends java.lang.ObjectBuilder class forPolicyGroupPodCidrCluster.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyGroupPodCidrCluster.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyGroupPodCidrClusterbuild()PolicyGroupPodCidrCluster.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.PolicyGroupPodCidrCluster.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.PolicyGroupPodCidrCluster.BuildersetKubernetesNodes(java.util.List<PolicyKubernetesNodePodCidr> kubernetesNodes)Kubernetes nodes
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyGroupPodCidrCluster.
-
-
Method Detail
-
setDisplayName
public PolicyGroupPodCidrCluster.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 PolicyGroupPodCidrCluster.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.
-
setKubernetesNodes
public PolicyGroupPodCidrCluster.Builder setKubernetesNodes(java.util.List<PolicyKubernetesNodePodCidr> kubernetesNodes)
Kubernetes nodes- Parameters:
kubernetesNodes- New value for the property.
-
build
public PolicyGroupPodCidrCluster build()
-
-