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