Class ObjectReference.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class ObjectReference.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements ObjectReference
    An implementation for ObjectReference
    • 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.
    • Method Detail

      • getFieldPath

        public final String getFieldPath()
        Description copied from interface: ObjectReference
        If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.
        Specified by:
        getFieldPath in interface ObjectReference
      • getKind

        public final String getKind()
        Description copied from interface: ObjectReference
        Kind of the referent.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

        Specified by:
        getKind in interface ObjectReference
      • getName

        public final String getName()
        Description copied from interface: ObjectReference
        Name of the referent.

        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

        Specified by:
        getName in interface ObjectReference
      • getNamespace

        public final String getNamespace()
        Description copied from interface: ObjectReference
        Namespace of the referent.

        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

        Specified by:
        getNamespace in interface ObjectReference
      • getResourceVersion

        public final String getResourceVersion()
        Description copied from interface: ObjectReference
        Specific resourceVersion to which this reference is made, if any.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

        Specified by:
        getResourceVersion in interface ObjectReference
      • getUid

        public final String getUid()
        Description copied from interface: ObjectReference
        UID of the referent.

        More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

        Specified by:
        getUid in interface ObjectReference
      • $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