Class KubeEventProps.Jsii$Proxy

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

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

      • getAction

        public final String getAction()
        Description copied from interface: KubeEventProps
        action is what action was taken/failed regarding to the regarding object.

        It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

        Specified by:
        getAction in interface KubeEventProps
      • getDeprecatedCount

        public final Number getDeprecatedCount()
        Description copied from interface: KubeEventProps
        deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
        Specified by:
        getDeprecatedCount in interface KubeEventProps
      • getDeprecatedFirstTimestamp

        public final Instant getDeprecatedFirstTimestamp()
        Description copied from interface: KubeEventProps
        deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
        Specified by:
        getDeprecatedFirstTimestamp in interface KubeEventProps
      • getDeprecatedLastTimestamp

        public final Instant getDeprecatedLastTimestamp()
        Description copied from interface: KubeEventProps
        deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
        Specified by:
        getDeprecatedLastTimestamp in interface KubeEventProps
      • getMetadata

        public final ObjectMeta getMetadata()
        Description copied from interface: KubeEventProps
        Standard object's metadata.

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

        Specified by:
        getMetadata in interface KubeEventProps
      • getNote

        public final String getNote()
        Description copied from interface: KubeEventProps
        note is a human-readable description of the status of this operation.

        Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

        Specified by:
        getNote in interface KubeEventProps
      • getReason

        public final String getReason()
        Description copied from interface: KubeEventProps
        reason is why the action was taken.

        It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

        Specified by:
        getReason in interface KubeEventProps
      • getRegarding

        public final ObjectReference getRegarding()
        Description copied from interface: KubeEventProps
        regarding contains the object this Event is about.

        In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

        Specified by:
        getRegarding in interface KubeEventProps
      • getRelated

        public final ObjectReference getRelated()
        Description copied from interface: KubeEventProps
        related is the optional secondary object for more complex actions.

        E.g. when regarding object triggers a creation or deletion of related object.

        Specified by:
        getRelated in interface KubeEventProps
      • getReportingController

        public final String getReportingController()
        Description copied from interface: KubeEventProps
        reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
        Specified by:
        getReportingController in interface KubeEventProps
      • getReportingInstance

        public final String getReportingInstance()
        Description copied from interface: KubeEventProps
        reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.
        Specified by:
        getReportingInstance in interface KubeEventProps
      • getSeries

        public final EventSeries getSeries()
        Description copied from interface: KubeEventProps
        series is data about the Event series this event represents or nil if it's a singleton Event.
        Specified by:
        getSeries in interface KubeEventProps
      • getType

        public final String getType()
        Description copied from interface: KubeEventProps
        type is the type of this event (Normal, Warning), new types could be added in the future.

        It is machine-readable. This field cannot be empty for new Events.

        Specified by:
        getType in interface KubeEventProps
      • $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