Class EventsV1EventSeries

java.lang.Object
io.kubernetes.client.openapi.models.EventsV1EventSeries

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class EventsV1EventSeries extends Object
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.
  • Field Details

  • Constructor Details

    • EventsV1EventSeries

      public EventsV1EventSeries()
  • Method Details

    • count

      public EventsV1EventSeries count(Integer count)
    • getCount

      public Integer getCount()
      count is the number of occurrences in this series up to the last heartbeat time.
      Returns:
      count
    • setCount

      public void setCount(Integer count)
    • lastObservedTime

      public EventsV1EventSeries lastObservedTime(OffsetDateTime lastObservedTime)
    • getLastObservedTime

      public OffsetDateTime getLastObservedTime()
      lastObservedTime is the time when last Event from the series was seen before last heartbeat.
      Returns:
      lastObservedTime
    • setLastObservedTime

      public void setLastObservedTime(OffsetDateTime lastObservedTime)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object