Class 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
    • Constructor Detail

      • IoK8sApiCoreV1TCPSocketAction

        public IoK8sApiCoreV1TCPSocketAction()
    • Method Detail

      • getHost

        @Nullable
        public String getHost()
        Optional: Host name to connect to, defaults to the pod IP.
        Returns:
        host
      • setHost

        public void setHost​(String host)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object