public static final class PolicyKubernetesServiceNodePortLocalEndpoint.Builder
extends java.lang.Object
PolicyKubernetesServiceNodePortLocalEndpoint.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
PolicyKubernetesServiceNodePortLocalEndpoint. |
| Modifier and Type | Method and Description |
|---|---|
PolicyKubernetesServiceNodePortLocalEndpoint |
build() |
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.
|
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.
|
PolicyKubernetesServiceNodePortLocalEndpoint.Builder |
setProtocol(java.lang.String protocol)
Possible values are:
PolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_TCP
PolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_UDP
PolicyKubernetesServiceNodePortLocalEndpoint.PROTOCOL_SCTP
Protocol of endpoint |
public Builder()
PolicyKubernetesServiceNodePortLocalEndpoint.public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setNodeIp(java.lang.String nodeIp)
nodeIp - New value for the property.public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setNodePort(java.lang.String nodePort)
nodePort - New value for the property.public PolicyKubernetesServiceNodePortLocalEndpoint.Builder setProtocol(java.lang.String protocol)
protocol - New value for the property.public PolicyKubernetesServiceNodePortLocalEndpoint build()