public class V1TCPSocketAction extends Object
Constructor and Description |
---|
V1TCPSocketAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHost()
Optional: Host name to connect to, defaults to the pod IP.
|
IntOrString |
getPort()
Number or name of the port to access on the container.
|
int |
hashCode() |
V1TCPSocketAction |
host(String host) |
V1TCPSocketAction |
port(IntOrString port) |
void |
setHost(String host) |
void |
setPort(IntOrString port) |
String |
toString() |
public V1TCPSocketAction host(String host)
public String getHost()
public void setHost(String host)
public V1TCPSocketAction port(IntOrString port)
public IntOrString getPort()
public void setPort(IntOrString port)
Copyright © 2019. All rights reserved.