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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Hostname of this endpointgetIp()
The IP of this endpoint.Optional: Node hosting this endpoint.int
hashCode()
Set hostname in a chainable fashion.Set ip in a chainable fashion.Set nodeName in a chainable fashion.void
setHostname
(String hostname) Set the hostname property valuevoid
Set the ip property valuevoid
setNodeName
(String nodeName) Set the nodeName property valuevoid
setTargetRef
(V1ObjectReference targetRef) Set the targetRef property valuetargetRef
(V1ObjectReference targetRef) Set targetRef in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_HOSTNAME
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_NODE_NAME
- See Also:
-
JSON_PROPERTY_TARGET_REF
- See Also:
-
-
Constructor Details
-
V1EndpointAddress
-
-
Method Details
-
getHostname
The Hostname of this endpoint- Returns:
- the hostname property value
-
setHostname
Set the hostname property value -
hostname
Set hostname in a chainable fashion.- Returns:
- The same instance of V1EndpointAddress for chaining.
-
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
Set the ip property value -
ip
Set ip in a chainable fashion.- Returns:
- The same instance of V1EndpointAddress for chaining.
-
getNodeName
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.- Returns:
- the nodeName property value
-
setNodeName
Set the nodeName property value -
nodeName
Set nodeName in a chainable fashion.- Returns:
- The same instance of V1EndpointAddress for chaining.
-
getTargetRef
- Returns:
- the targetRef property value
-
setTargetRef
Set the targetRef property value -
targetRef
Set targetRef in a chainable fashion.- Returns:
- The same instance of V1EndpointAddress for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-