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