Interface KubeEventV1Beta1Props
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeEventV1Beta1Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.150Z") @Stability(Stable) public interface KubeEventV1Beta1Props extends software.amazon.jsii.JsiiSerializable
Event is a report of an event somewhere in the cluster.It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeEventV1Beta1Props.Builder
A builder forKubeEventV1Beta1Props
static class
KubeEventV1Beta1Props.Jsii$Proxy
An implementation forKubeEventV1Beta1Props
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static KubeEventV1Beta1Props.Builder
builder()
default String
getAction()
action is what action was taken/failed regarding to the regarding object.default Number
getDeprecatedCount()
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.default Instant
getDeprecatedFirstTimestamp()
deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.default Instant
getDeprecatedLastTimestamp()
deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.default 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.default ObjectMeta
getMetadata()
Standard object's metadata.default String
getNote()
note is a human-readable description of the status of this operation.default String
getReason()
reason is why the action was taken.default ObjectReference
getRegarding()
regarding contains the object this Event is about.default ObjectReference
getRelated()
related is the optional secondary object for more complex actions.default String
getReportingController()
reportingController is the name of the controller that emitted this Event, e.g.default String
getReportingInstance()
reportingInstance is the ID of the controller instance, e.g.default EventSeriesV1Beta1
getSeries()
series is data about the Event series this event represents or nil if it's a singleton Event.default String
getType()
type is the type of this event (Normal, Warning), new types could be added in the future.
-
-
-
Method Detail
-
getEventTime
@Stability(Stable) @NotNull Instant getEventTime()
eventTime is the time when this Event was first observed.It is required.
-
getAction
@Stability(Stable) @Nullable default String getAction()
action is what action was taken/failed regarding to the regarding object.It is machine-readable. This field can have at most 128 characters.
-
getDeprecatedCount
@Stability(Stable) @Nullable default Number getDeprecatedCount()
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
-
getDeprecatedFirstTimestamp
@Stability(Stable) @Nullable default Instant getDeprecatedFirstTimestamp()
deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
-
getDeprecatedLastTimestamp
@Stability(Stable) @Nullable default Instant getDeprecatedLastTimestamp()
deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
-
getDeprecatedSource
@Stability(Stable) @Nullable default EventSource getDeprecatedSource()
deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
-
getNote
@Stability(Stable) @Nullable default String getNote()
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.
-
getReason
@Stability(Stable) @Nullable default String getReason()
reason is why the action was taken.It is human-readable. This field can have at most 128 characters.
-
getRegarding
@Stability(Stable) @Nullable default ObjectReference getRegarding()
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.
-
getRelated
@Stability(Stable) @Nullable default ObjectReference getRelated()
related is the optional secondary object for more complex actions.E.g. when regarding object triggers a creation or deletion of related object.
-
getReportingController
@Stability(Stable) @Nullable default String getReportingController()
reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.
-
getReportingInstance
@Stability(Stable) @Nullable default String getReportingInstance()
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.
-
getSeries
@Stability(Stable) @Nullable default EventSeriesV1Beta1 getSeries()
series is data about the Event series this event represents or nil if it's a singleton Event.
-
getType
@Stability(Stable) @Nullable default String getType()
type is the type of this event (Normal, Warning), new types could be added in the future.It is machine-readable.
-
builder
@Stability(Stable) static KubeEventV1Beta1Props.Builder builder()
- Returns:
- a
KubeEventV1Beta1Props.Builder
ofKubeEventV1Beta1Props
-
-