public static final class NodePortLocalEndpoint.Builder
extends java.lang.Object
NodePortLocalEndpoint
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodePortLocalEndpoint . |
Modifier and Type | Method and Description |
---|---|
NodePortLocalEndpoint |
build() |
NodePortLocalEndpoint.Builder |
setNodeIp(java.lang.String nodeIp)
Specifies IP address of node.
|
NodePortLocalEndpoint.Builder |
setNodePort(java.lang.Long nodePort)
Specifies the port on the node that can be used to access the service.
|
NodePortLocalEndpoint.Builder |
setProtocol(java.lang.String protocol)
Possible values are:
NodePortLocalEndpoint.PROTOCOL_TCP NodePortLocalEndpoint.PROTOCOL_UDP NodePortLocalEndpoint.PROTOCOL_SCTP Specifies
protocol of endpoint. |
public Builder()
NodePortLocalEndpoint
.public NodePortLocalEndpoint.Builder setNodeIp(java.lang.String nodeIp)
nodeIp
- New value for the property.public NodePortLocalEndpoint.Builder setNodePort(java.lang.Long nodePort)
nodePort
- New value for the property.public NodePortLocalEndpoint.Builder setProtocol(java.lang.String protocol)
protocol
- New value for the property.public NodePortLocalEndpoint build()