Class EndpointV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.EndpointV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
EndpointV1Beta1
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EndpointV1Beta1
@Stability(Stable) @Internal public static final class EndpointV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EndpointV1Beta1
An implementation forEndpointV1Beta1
-
-
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.EndpointV1Beta1
EndpointV1Beta1.Builder, EndpointV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(EndpointV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointV1Beta1.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)
List<String>
getAddresses()
addresses of this endpoint.EndpointConditionsV1Beta1
getConditions()
conditions contains information about the current status of the endpoint.EndpointHintsV1Beta1
getHints()
hints contains information associated with how an endpoint should be consumed.String
getHostname()
hostname of this endpoint.String
getNodeName()
nodeName represents the name of the Node hosting this endpoint.ObjectReference
getTargetRef()
targetRef is a reference to a Kubernetes object that represents this endpoint.Map<String,String>
getTopology()
topology contains arbitrary topology information associated with 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(EndpointV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointV1Beta1.Builder
.
-
-
Method Detail
-
getAddresses
public final List<String> getAddresses()
Description copied from interface:EndpointV1Beta1
addresses of this endpoint.The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267
- Specified by:
getAddresses
in interfaceEndpointV1Beta1
-
getConditions
public final EndpointConditionsV1Beta1 getConditions()
Description copied from interface:EndpointV1Beta1
conditions contains information about the current status of the endpoint.- Specified by:
getConditions
in interfaceEndpointV1Beta1
-
getHints
public final EndpointHintsV1Beta1 getHints()
Description copied from interface:EndpointV1Beta1
hints contains information associated with how an endpoint should be consumed.- Specified by:
getHints
in interfaceEndpointV1Beta1
-
getHostname
public final String getHostname()
Description copied from interface:EndpointV1Beta1
hostname of this endpoint.This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.
- Specified by:
getHostname
in interfaceEndpointV1Beta1
-
getNodeName
public final String getNodeName()
Description copied from interface:EndpointV1Beta1
nodeName represents the name of the Node hosting this endpoint.This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
- Specified by:
getNodeName
in interfaceEndpointV1Beta1
-
getTargetRef
public final ObjectReference getTargetRef()
Description copied from interface:EndpointV1Beta1
targetRef is a reference to a Kubernetes object that represents this endpoint.- Specified by:
getTargetRef
in interfaceEndpointV1Beta1
-
getTopology
public final Map<String,String> getTopology()
Description copied from interface:EndpointV1Beta1
topology contains arbitrary topology information associated with the endpoint.These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label.
- topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label.
- topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. This field is deprecated and will be removed in future api versions.
- Specified by:
getTopology
in interfaceEndpointV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-