Class V1TCPSocketAction
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TCPSocketAction
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1TCPSocketAction
extends Object
TCPSocketAction describes an action based on opening a socket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHost()
Optional: Host name to connect to, defaults to the pod IP.getPort()
IntOrString is a type that can hold an int32 or a string.int
hashCode()
Set host in a chainable fashion.Set port in a chainable fashion.void
Set the host property valuevoid
Set the port property valuetoString()
-
Field Details
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
-
Constructor Details
-
V1TCPSocketAction
-
-
Method Details
-
getHost
Optional: Host name to connect to, defaults to the pod IP.- Returns:
- the host property value
-
setHost
Set the host property value -
host
Set host in a chainable fashion.- Returns:
- The same instance of V1TCPSocketAction for chaining.
-
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:
- the port property value
-
setPort
Set the port property value -
port
Set port in a chainable fashion.- Returns:
- The same instance of V1TCPSocketAction for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-