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