Package org.cdk8s.plus25.k8s
Interface EndpointAddress
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EndpointAddress.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.512Z") @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 classEndpointAddress.BuilderA builder forEndpointAddressstatic classEndpointAddress.Jsii$ProxyAn implementation forEndpointAddress
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static EndpointAddress.Builderbuilder()default StringgetHostname()The Hostname of this endpoint.StringgetIp()The IP of this endpoint.default StringgetNodeName()Optional: Node hosting this endpoint.default ObjectReferencegetTargetRef()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.BuilderofEndpointAddress
-
-