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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
The Hostname of this endpointgetIp()
The IP of this endpoint.Optional: Node hosting this endpoint.Get targetRefint
hashCode()
void
setHostname
(String hostname) void
void
setNodeName
(String nodeName) void
setTargetRef
(V1ObjectReference targetRef) targetRef
(V1ObjectReference targetRef) toString()
-
Field Details
-
SERIALIZED_NAME_HOSTNAME
- See Also:
-
SERIALIZED_NAME_IP
- See Also:
-
SERIALIZED_NAME_NODE_NAME
- See Also:
-
SERIALIZED_NAME_TARGET_REF
- See Also:
-
-
Constructor Details
-
V1EndpointAddress
public V1EndpointAddress()
-
-
Method Details
-
hostname
-
getHostname
The Hostname of this endpoint- Returns:
- hostname
-
setHostname
-
ip
-
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
-
nodeName
-
getNodeName
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.- Returns:
- nodeName
-
setNodeName
-
targetRef
-
getTargetRef
Get targetRef- Returns:
- targetRef
-
setTargetRef
-
equals
-
hashCode
public int hashCode() -
toString
-