@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1TCPSocketAction extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_HOST |
static String |
SERIALIZED_NAME_PORT |
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()
IntOrString is a type that can hold an int32 or a string.
|
int |
hashCode() |
V1TCPSocketAction |
host(String host) |
V1TCPSocketAction |
port(IntOrString port) |
void |
setHost(String host) |
void |
setPort(IntOrString port) |
String |
toString() |
public static final String SERIALIZED_NAME_HOST
public static final String SERIALIZED_NAME_PORT
public V1TCPSocketAction host(String host)
@Nullable public String getHost()
public void setHost(String host)
public V1TCPSocketAction port(IntOrString port)
public IntOrString getPort()
public void setPort(IntOrString port)
Copyright © 2020. All rights reserved.