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