Class KubeEventProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.KubeEventProps
KubeEventProps.Builder, KubeEventProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(KubeEventProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theKubeEventProps.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)
String
getAction()
action is what action was taken/failed regarding to the regarding object.Number
getDeprecatedCount()
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.Instant
getDeprecatedFirstTimestamp()
deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.Instant
getDeprecatedLastTimestamp()
deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.EventSource
getDeprecatedSource()
deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.Instant
getEventTime()
eventTime is the time when this Event was first observed.ObjectMeta
getMetadata()
Standard object's metadata.String
getNote()
note is a human-readable description of the status of this operation.String
getReason()
reason is why the action was taken.ObjectReference
getRegarding()
regarding contains the object this Event is about.ObjectReference
getRelated()
related is the optional secondary object for more complex actions.String
getReportingController()
reportingController is the name of the controller that emitted this Event, e.g.String
getReportingInstance()
reportingInstance is the ID of the controller instance, e.g.EventSeries
getSeries()
series is data about the Event series this event represents or nil if it's a singleton Event.String
getType()
type is the type of this event (Normal, Warning), new types could be added in the future.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(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:KubeEventProps
eventTime is the time when this Event was first observed.It is required.
- Specified by:
getEventTime
in interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
getDeprecatedSource
public final EventSource getDeprecatedSource()
Description copied from interface:KubeEventProps
deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.- Specified by:
getDeprecatedSource
in interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
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 interfaceKubeEventProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-