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