Package org.cdk8s.plus24.k8s
Interface EndpointAddress
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EndpointAddress.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.035Z") @Stability(Stable) public interface EndpointAddress extends software.amazon.jsii.JsiiSerializable
EndpointAddress is a tuple that describes single IP address.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EndpointAddress.Builder
A builder forEndpointAddress
static class
EndpointAddress.Jsii$Proxy
An implementation forEndpointAddress
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static EndpointAddress.Builder
builder()
default String
getHostname()
The Hostname of this endpoint.String
getIp()
The IP of this endpoint.default String
getNodeName()
Optional: Node hosting this endpoint.default ObjectReference
getTargetRef()
Reference to object providing the endpoint.
-
-
-
Method Detail
-
getIp
@Stability(Stable) @NotNull 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.
-
getHostname
@Stability(Stable) @Nullable default String getHostname()
The Hostname of this endpoint.
-
getNodeName
@Stability(Stable) @Nullable default String getNodeName()
Optional: Node hosting this endpoint.This can be used to determine endpoints local to a node.
-
getTargetRef
@Stability(Stable) @Nullable default ObjectReference getTargetRef()
Reference to object providing the endpoint.
-
builder
@Stability(Stable) static EndpointAddress.Builder builder()
- Returns:
- a
EndpointAddress.Builder
ofEndpointAddress
-
-