Package org.cdk8s.plus24.k8s
Class EndpointAddress.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.EndpointAddress
EndpointAddress.Builder, EndpointAddress.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(EndpointAddress.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointAddress.Builder
.protected
Jsii$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()
boolean
equals(Object o)
String
getHostname()
The Hostname of this endpoint.String
getIp()
The IP of this endpoint.String
getNodeName()
Optional: Node hosting this endpoint.ObjectReference
getTargetRef()
Reference to object providing the endpoint.int
hashCode()
-
-
-
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:EndpointAddress
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.
- Specified by:
getIp
in interfaceEndpointAddress
-
getHostname
public final String getHostname()
Description copied from interface:EndpointAddress
The Hostname of this endpoint.- Specified by:
getHostname
in interfaceEndpointAddress
-
getNodeName
public final String getNodeName()
Description copied from interface:EndpointAddress
Optional: Node hosting this endpoint.This can be used to determine endpoints local to a node.
- Specified by:
getNodeName
in interfaceEndpointAddress
-
getTargetRef
public final ObjectReference getTargetRef()
Description copied from interface:EndpointAddress
Reference to object providing the endpoint.- Specified by:
getTargetRef
in interfaceEndpointAddress
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-