Package com.vmware.nsx_policy.model
Class PolicyGroupKubernetesGatewayCluster.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyGroupKubernetesGatewayCluster.Builder
-
- Enclosing class:
- PolicyGroupKubernetesGatewayCluster
public static final class PolicyGroupKubernetesGatewayCluster.Builder extends java.lang.ObjectBuilder class forPolicyGroupKubernetesGatewayCluster.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyGroupKubernetesGatewayCluster.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyGroupKubernetesGatewayClusterbuild()PolicyGroupKubernetesGatewayCluster.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.PolicyGroupKubernetesGatewayCluster.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.PolicyGroupKubernetesGatewayCluster.BuildersetNamespaces(java.util.List<PolicyGroupKubernetesGatewayNamespace> namespaces)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyGroupKubernetesGatewayCluster.
-
-
Method Detail
-
setDisplayName
public PolicyGroupKubernetesGatewayCluster.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 PolicyGroupKubernetesGatewayCluster.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.
-
setNamespaces
public PolicyGroupKubernetesGatewayCluster.Builder setNamespaces(java.util.List<PolicyGroupKubernetesGatewayNamespace> namespaces)
- Parameters:
namespaces- New value for the property.
-
build
public PolicyGroupKubernetesGatewayCluster build()
-
-