Package com.vmware.nsx_policy.model
Class PolicyKubernetesServiceNodePortLocalEndpoint.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyKubernetesServiceNodePortLocalEndpoint.Builder
-
- Enclosing class:
- PolicyKubernetesServiceNodePortLocalEndpoint
public static final class PolicyKubernetesServiceNodePortLocalEndpoint.Builder extends java.lang.ObjectBuilder class forPolicyKubernetesServiceNodePortLocalEndpoint.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyKubernetesServiceNodePortLocalEndpoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyKubernetesServiceNodePortLocalEndpointbuild()PolicyKubernetesServiceNodePortLocalEndpoint.BuildersetNodeIp(java.lang.String nodeIp)The node ip of kubernetes service 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.PolicyKubernetesServiceNodePortLocalEndpoint.BuildersetNodePort(java.lang.String nodePort)The node port of kubernetes service 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.PolicyKubernetesServiceNodePortLocalEndpoint.BuildersetProtocol(java.lang.String protocol)Possible values are:PolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_TCPPolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_UDPPolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_SCTPProtocol of endpoint
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyKubernetesServiceNodePortLocalEndpoint.
-
-
Method Detail
-
setNodeIp
public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setNodeIp(java.lang.String nodeIp)
The node ip of kubernetes service 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:
nodeIp- New value for the property.
-
setNodePort
public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setNodePort(java.lang.String nodePort)
The node port of kubernetes service 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:
nodePort- New value for the property.
-
setProtocol
public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setProtocol(java.lang.String protocol)
Possible values are: Protocol of endpoint- Parameters:
protocol- New value for the property.
-
build
public PolicyKubernetesServiceNodePortLocalEndpoint build()
-
-