Class V1ServerAddressByClientCIDR

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ServerAddressByClientCIDR

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ServerAddressByClientCIDR extends Object
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
  • Field Details

  • Constructor Details

    • V1ServerAddressByClientCIDR

      public V1ServerAddressByClientCIDR(String clientCIDR, String serverAddress)
  • Method Details

    • getClientCIDR

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

      public void setClientCIDR(String clientCIDR)
      Set the clientCIDR property value
      Parameters:
      clientCIDR - property value to set
    • clientCIDR

      public V1ServerAddressByClientCIDR clientCIDR(String clientCIDR)
      Set clientCIDR in a chainable fashion.
      Returns:
      The same instance of V1ServerAddressByClientCIDR for chaining.
    • getServerAddress

      public 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:
      the serverAddress property value
    • setServerAddress

      public void setServerAddress(String serverAddress)
      Set the serverAddress property value
      Parameters:
      serverAddress - property value to set
    • serverAddress

      public V1ServerAddressByClientCIDR serverAddress(String serverAddress)
      Set serverAddress in a chainable fashion.
      Returns:
      The same instance of V1ServerAddressByClientCIDR for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object