Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1EndpointAddress
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1EndpointAddress
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1EndpointAddress extends Object
EndpointAddress is a tuple that describes single IP address.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTNAMEstatic StringJSON_PROPERTY_IPstatic StringJSON_PROPERTY_NODE_NAMEstatic StringJSON_PROPERTY_TARGET_REF
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1EndpointAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHostname()The Hostname of this endpointStringgetIp()The IP of this endpoint.StringgetNodeName()Optional: Node hosting this endpoint.IoK8sApiCoreV1ObjectReferencegetTargetRef()Get targetRefinthashCode()IoK8sApiCoreV1EndpointAddresshostname(String hostname)IoK8sApiCoreV1EndpointAddressip(String ip)IoK8sApiCoreV1EndpointAddressnodeName(String nodeName)voidsetHostname(String hostname)voidsetIp(String ip)voidsetNodeName(String nodeName)voidsetTargetRef(IoK8sApiCoreV1ObjectReference targetRef)IoK8sApiCoreV1EndpointAddresstargetRef(IoK8sApiCoreV1ObjectReference targetRef)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HOSTNAME
public static final String JSON_PROPERTY_HOSTNAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP
public static final String JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_NAME
public static final String JSON_PROPERTY_NODE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_REF
public static final String JSON_PROPERTY_TARGET_REF
- See Also:
- Constant Field Values
-
-
Method Detail
-
hostname
public IoK8sApiCoreV1EndpointAddress hostname(String hostname)
-
getHostname
@Nullable public String getHostname()
The Hostname of this endpoint- Returns:
- hostname
-
setHostname
public void setHostname(String hostname)
-
ip
public IoK8sApiCoreV1EndpointAddress 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 IoK8sApiCoreV1EndpointAddress 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 IoK8sApiCoreV1EndpointAddress targetRef(IoK8sApiCoreV1ObjectReference targetRef)
-
getTargetRef
@Nullable public IoK8sApiCoreV1ObjectReference getTargetRef()
Get targetRef- Returns:
- targetRef
-
setTargetRef
public void setTargetRef(IoK8sApiCoreV1ObjectReference targetRef)
-
-