Class Endpoint.Jsii$Proxy

  • All Implemented Interfaces:
    Endpoint, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    Endpoint

    @Stability(Stable)
    @Internal
    public static final class Endpoint.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Endpoint
    An implementation for Endpoint
    • 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​(Endpoint.Builder builder)
        Constructor that initializes the object based on literal property values passed by the Endpoint.Builder.
    • Method Detail

      • getAddresses

        public final List<String> getAddresses()
        Description copied from interface: Endpoint
        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 interface Endpoint
      • getConditions

        public final EndpointConditions getConditions()
        Description copied from interface: Endpoint
        conditions contains information about the current status of the endpoint.
        Specified by:
        getConditions in interface Endpoint
      • getDeprecatedTopology

        public final Map<String,​String> getDeprecatedTopology()
        Description copied from interface: Endpoint
        deprecatedTopology contains topology information part of the v1beta1 API.

        This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.

        Specified by:
        getDeprecatedTopology in interface Endpoint
      • getHints

        public final EndpointHints getHints()
        Description copied from interface: Endpoint
        hints contains information associated with how an endpoint should be consumed.
        Specified by:
        getHints in interface Endpoint
      • getHostname

        public final String getHostname()
        Description copied from interface: Endpoint
        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 interface Endpoint
      • getNodeName

        public final String getNodeName()
        Description copied from interface: Endpoint
        nodeName represents the name of the Node hosting this endpoint.

        This can be used to determine endpoints local to a Node.

        Specified by:
        getNodeName in interface Endpoint
      • getTargetRef

        public final ObjectReference getTargetRef()
        Description copied from interface: Endpoint
        targetRef is a reference to a Kubernetes object that represents this endpoint.
        Specified by:
        getTargetRef in interface Endpoint
      • getZone

        public final String getZone()
        Description copied from interface: Endpoint
        zone is the name of the Zone this endpoint exists in.
        Specified by:
        getZone in interface Endpoint
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object