Class V1EndpointAddress

java.lang.Object
io.kubernetes.client.openapi.models.V1EndpointAddress

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1EndpointAddress extends Object
EndpointAddress is a tuple that describes single IP address.
  • Field Details

  • Constructor Details

    • V1EndpointAddress

      public V1EndpointAddress()
  • Method Details

    • hostname

      public V1EndpointAddress hostname(String hostname)
    • getHostname

      @Nullable public String getHostname()
      The Hostname of this endpoint
      Returns:
      hostname
    • setHostname

      public void setHostname(String hostname)
    • ip

      public V1EndpointAddress ip(String ip)
    • getIp

      public String getIp()
      The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.
      Returns:
      ip
    • setIp

      public void setIp(String ip)
    • nodeName

      public V1EndpointAddress nodeName(String nodeName)
    • getNodeName

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

      public void setNodeName(String nodeName)
    • targetRef

      public V1EndpointAddress targetRef(V1ObjectReference targetRef)
    • getTargetRef

      @Nullable public V1ObjectReference getTargetRef()
      Get targetRef
      Returns:
      targetRef
    • setTargetRef

      public void setTargetRef(V1ObjectReference targetRef)
    • 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