Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1TCPSocketAction
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1TCPSocketAction
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1TCPSocketAction extends Object
TCPSocketAction describes an action based on opening a socket
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTstatic StringJSON_PROPERTY_PORT
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1TCPSocketAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHost()Optional: Host name to connect to, defaults to the pod IP.StringgetPort()IntOrString is a type that can hold an int32 or a string.inthashCode()IoK8sApiCoreV1TCPSocketActionhost(String host)IoK8sApiCoreV1TCPSocketActionport(String port)voidsetHost(String host)voidsetPort(String port)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
host
public IoK8sApiCoreV1TCPSocketAction host(String host)
-
getHost
@Nullable public String getHost()
Optional: Host name to connect to, defaults to the pod IP.- Returns:
- host
-
setHost
public void setHost(String host)
-
port
public IoK8sApiCoreV1TCPSocketAction port(String port)
-
getPort
public String getPort()
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.- Returns:
- port
-
setPort
public void setPort(String port)
-
-