Class KubeEventProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.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 forKubeEventProps
-
-
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.plus25.k8s.KubeEventProps
KubeEventProps.Builder, KubeEventProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(KubeEventProps.Builder builder)Constructor that initializes the object based on literal property values passed by theKubeEventProps.Builder.protectedJsii$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()booleanequals(Object o)StringgetAction()action is what action was taken/failed regarding to the regarding object.NumbergetDeprecatedCount()deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.InstantgetDeprecatedFirstTimestamp()deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.InstantgetDeprecatedLastTimestamp()deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.EventSourcegetDeprecatedSource()deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.InstantgetEventTime()eventTime is the time when this Event was first observed.ObjectMetagetMetadata()Standard object's metadata.StringgetNote()note is a human-readable description of the status of this operation.StringgetReason()reason is why the action was taken.ObjectReferencegetRegarding()regarding contains the object this Event is about.ObjectReferencegetRelated()related is the optional secondary object for more complex actions.StringgetReportingController()reportingController is the name of the controller that emitted this Event, e.g.StringgetReportingInstance()reportingInstance is the ID of the controller instance, e.g.EventSeriesgetSeries()series is data about the Event series this event represents or nil if it's a singleton Event.StringgetType()type is the type of this event (Normal, Warning), new types could be added in the future.inthashCode()
-
-
-
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(KubeEventProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theKubeEventProps.Builder.
-
-
Method Detail
-
getEventTime
public final Instant getEventTime()
Description copied from interface:KubeEventPropseventTime is the time when this Event was first observed.It is required.
- Specified by:
getEventTimein interfaceKubeEventProps
-
getAction
public final String getAction()
Description copied from interface:KubeEventPropsaction 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:
getActionin interfaceKubeEventProps
-
getDeprecatedCount
public final Number getDeprecatedCount()
Description copied from interface:KubeEventPropsdeprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.- Specified by:
getDeprecatedCountin interfaceKubeEventProps
-
getDeprecatedFirstTimestamp
public final Instant getDeprecatedFirstTimestamp()
Description copied from interface:KubeEventPropsdeprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.- Specified by:
getDeprecatedFirstTimestampin interfaceKubeEventProps
-
getDeprecatedLastTimestamp
public final Instant getDeprecatedLastTimestamp()
Description copied from interface:KubeEventPropsdeprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.- Specified by:
getDeprecatedLastTimestampin interfaceKubeEventProps
-
getDeprecatedSource
public final EventSource getDeprecatedSource()
Description copied from interface:KubeEventPropsdeprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.- Specified by:
getDeprecatedSourcein interfaceKubeEventProps
-
getMetadata
public final ObjectMeta getMetadata()
Description copied from interface:KubeEventPropsStandard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Specified by:
getMetadatain interfaceKubeEventProps
-
getNote
public final String getNote()
Description copied from interface:KubeEventPropsnote 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:
getNotein interfaceKubeEventProps
-
getReason
public final String getReason()
Description copied from interface:KubeEventPropsreason 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:
getReasonin interfaceKubeEventProps
-
getRegarding
public final ObjectReference getRegarding()
Description copied from interface:KubeEventPropsregarding 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:
getRegardingin interfaceKubeEventProps
-
getRelated
public final ObjectReference getRelated()
Description copied from interface:KubeEventPropsrelated is the optional secondary object for more complex actions.E.g. when regarding object triggers a creation or deletion of related object.
- Specified by:
getRelatedin interfaceKubeEventProps
-
getReportingController
public final String getReportingController()
Description copied from interface:KubeEventPropsreportingController 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:
getReportingControllerin interfaceKubeEventProps
-
getReportingInstance
public final String getReportingInstance()
Description copied from interface:KubeEventPropsreportingInstance 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:
getReportingInstancein interfaceKubeEventProps
-
getSeries
public final EventSeries getSeries()
Description copied from interface:KubeEventPropsseries is data about the Event series this event represents or nil if it's a singleton Event.- Specified by:
getSeriesin interfaceKubeEventProps
-
getType
public final String getType()
Description copied from interface:KubeEventPropstype 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:
getTypein interfaceKubeEventProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-