Package kubevirt.io

Class V1ServerAddressByClientCIDR


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1ServerAddressByClientCIDR
    extends java.lang.Object
    ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
    • Field Detail

      • clientCIDR

        private java.lang.String clientCIDR
      • serverAddress

        private java.lang.String serverAddress
    • Constructor Detail

      • V1ServerAddressByClientCIDR

        public V1ServerAddressByClientCIDR()
    • Method Detail

      • getClientCIDR

        public java.lang.String getClientCIDR()
        The CIDR with which clients can match their IP to figure out the server address that they should use.
        Returns:
        clientCIDR
      • setClientCIDR

        public void setClientCIDR​(java.lang.String clientCIDR)
      • getServerAddress

        public java.lang.String getServerAddress()
        Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
        Returns:
        serverAddress
      • setServerAddress

        public void setServerAddress​(java.lang.String serverAddress)
      • 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).