Package org.cdk8s.plus25.k8s
Class EndpointAddress.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.EndpointAddress.Jsii$Proxy
-
- All Implemented Interfaces:
EndpointAddress,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EndpointAddress
@Stability(Stable) @Internal public static final class EndpointAddress.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EndpointAddress
An implementation forEndpointAddress
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.EndpointAddress
EndpointAddress.Builder, EndpointAddress.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(EndpointAddress.Builder builder)Constructor that initializes the object based on literal property values passed by theEndpointAddress.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetHostname()The Hostname of this endpoint.StringgetIp()The IP of this endpoint.StringgetNodeName()Optional: Node hosting this endpoint.ObjectReferencegetTargetRef()Reference to object providing the endpoint.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(EndpointAddress.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointAddress.Builder.
-
-
Method Detail
-
getIp
public final String getIp()
Description copied from interface:EndpointAddressThe 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.
- Specified by:
getIpin interfaceEndpointAddress
-
getHostname
public final String getHostname()
Description copied from interface:EndpointAddressThe Hostname of this endpoint.- Specified by:
getHostnamein interfaceEndpointAddress
-
getNodeName
public final String getNodeName()
Description copied from interface:EndpointAddressOptional: Node hosting this endpoint.This can be used to determine endpoints local to a node.
- Specified by:
getNodeNamein interfaceEndpointAddress
-
getTargetRef
public final ObjectReference getTargetRef()
Description copied from interface:EndpointAddressReference to object providing the endpoint.- Specified by:
getTargetRefin interfaceEndpointAddress
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-