Package kubevirt.io

Class V1TCPSocketAction


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1TCPSocketAction
    extends java.lang.Object
    TCPSocketAction describes an action based on opening a socket
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String host  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getHost()
      Optional: Host name to connect to, defaults to the pod IP.
      int hashCode()  
      V1TCPSocketAction host​(java.lang.String host)  
      void setHost​(java.lang.String host)  
      private java.lang.String toIndentedString​(java.lang.Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • host

        private java.lang.String host
    • Constructor Detail

      • V1TCPSocketAction

        public V1TCPSocketAction()
    • Method Detail

      • getHost

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

        public void setHost​(java.lang.String host)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

        private java.lang.String toIndentedString​(java.lang.Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).