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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetHost()Optional: Host name to connect to, defaults to the pod IP.getPort()IntOrString is a type that can hold an int32 or a string.inthashCode()Set host in a chainable fashion.Set port in a chainable fashion.voidSet the host property valuevoidSet the port property valuetoString()
- 
Field Details- 
JSON_PROPERTY_PORT- See Also:
 
- 
JSON_PROPERTY_HOST- See Also:
 
 
- 
- 
Constructor Details- 
V1TCPSocketAction
 
- 
- 
Method Details- 
getPortIntOrString 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
 
- 
setPortSet the port property value- Parameters:
- port- property value to set
 
- 
portSet port in a chainable fashion.- Returns:
- The same instance of V1TCPSocketAction for chaining.
 
- 
getHostOptional: Host name to connect to, defaults to the pod IP.- Returns:
- the host property value
 
- 
setHostSet the host property value- Parameters:
- host- property value to set
 
- 
hostSet host in a chainable fashion.- Returns:
- The same instance of V1TCPSocketAction for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-