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