Class V1EndpointAddress

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1EndpointAddress extends Object
EndpointAddress is a tuple that describes single IP address.
  • Field Details

  • Constructor Details

    • V1EndpointAddress

      public V1EndpointAddress(String ip)
  • Method Details

    • getIp

      public String getIp()
      The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
      Returns:
      the ip property value
    • setIp

      public void setIp(String ip)
      Set the ip property value
      Parameters:
      ip - property value to set
    • ip

      public V1EndpointAddress ip(String ip)
      Set ip in a chainable fashion.
      Returns:
      The same instance of V1EndpointAddress for chaining.
    • getHostname

      public String getHostname()
      The Hostname of this endpoint
      Returns:
      the hostname property value
    • setHostname

      public void setHostname(String hostname)
      Set the hostname property value
      Parameters:
      hostname - property value to set
    • hostname

      public V1EndpointAddress hostname(String hostname)
      Set hostname in a chainable fashion.
      Returns:
      The same instance of V1EndpointAddress for chaining.
    • getNodeName

      public String getNodeName()
      Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
      Returns:
      the nodeName property value
    • setNodeName

      public void setNodeName(String nodeName)
      Set the nodeName property value
      Parameters:
      nodeName - property value to set
    • nodeName

      public V1EndpointAddress nodeName(String nodeName)
      Set nodeName in a chainable fashion.
      Returns:
      The same instance of V1EndpointAddress for chaining.
    • getTargetRef

      public V1ObjectReference getTargetRef()
      Returns:
      the targetRef property value
    • setTargetRef

      public void setTargetRef(V1ObjectReference targetRef)
      Set the targetRef property value
      Parameters:
      targetRef - property value to set
    • targetRef

      public V1EndpointAddress targetRef(V1ObjectReference targetRef)
      Set targetRef in a chainable fashion.
      Returns:
      The same instance of V1EndpointAddress 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