Package com.vmware.nsx_policy.model
Class PolicyKubernetesNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyKubernetesNode.Builder
-
- Enclosing class:
- PolicyKubernetesNode
public static final class PolicyKubernetesNode.Builder extends java.lang.Object
Builder class forPolicyKubernetesNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyKubernetesNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyKubernetesNode
build()
PolicyKubernetesNode.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.PolicyKubernetesNode.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.PolicyKubernetesNode.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
The ip addresses of kubernetes node resource
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyKubernetesNode
.
-
-
Method Detail
-
setDisplayName
public PolicyKubernetesNode.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 PolicyKubernetesNode.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.
-
setIpAddresses
public PolicyKubernetesNode.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
The ip addresses of kubernetes node resource- Parameters:
ipAddresses
- New value for the property.
-
build
public PolicyKubernetesNode build()
-
-