Package org.cdk8s.plus25.k8s
Interface EventSeries
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventSeries.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.534Z") @Stability(Stable) public interface EventSeries extends software.amazon.jsii.JsiiSerializable
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEventSeries.BuilderA builder forEventSeriesstatic classEventSeries.Jsii$ProxyAn implementation forEventSeries
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static EventSeries.Builderbuilder()NumbergetCount()count is the number of occurrences in this series up to the last heartbeat time.InstantgetLastObservedTime()lastObservedTime is the time when last Event from the series was seen before last heartbeat.
-
-
-
Method Detail
-
getCount
@Stability(Stable) @NotNull Number getCount()
count is the number of occurrences in this series up to the last heartbeat time.
-
getLastObservedTime
@Stability(Stable) @NotNull Instant getLastObservedTime()
lastObservedTime is the time when last Event from the series was seen before last heartbeat.
-
builder
@Stability(Stable) static EventSeries.Builder builder()
- Returns:
- a
EventSeries.BuilderofEventSeries
-
-