Class EventsV1Event
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.EventsV1Event
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class EventsV1Event
extends Object
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet action in a chainable fashion.apiVersion
(String apiVersion) Set apiVersion in a chainable fashion.deprecatedCount
(Integer deprecatedCount) Set deprecatedCount in a chainable fashion.deprecatedFirstTimestamp
(ZonedDateTime deprecatedFirstTimestamp) Set deprecatedFirstTimestamp in a chainable fashion.deprecatedLastTimestamp
(ZonedDateTime deprecatedLastTimestamp) Set deprecatedLastTimestamp in a chainable fashion.deprecatedSource
(V1EventSource deprecatedSource) Set deprecatedSource in a chainable fashion.boolean
eventTime
(ZonedDateTime eventTime) Set eventTime in a chainable fashion.action is what action was taken/failed regarding to the regarding object.APIVersion defines the versioned schema of this representation of an object.deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.eventTime is the time when this Event was first observed.getKind()
Kind is a string value representing the REST resource this object represents.getNote()
note is a human-readable description of the status of this operation.reason is why the action was taken.reportingController is the name of the controller that emitted this Event, e.g.reportingInstance is the ID of the controller instance, e.g.getType()
type is the type of this event (Normal, Warning), new types could be added in the future.int
hashCode()
Set kind in a chainable fashion.metadata
(V1ObjectMeta metadata) Set metadata in a chainable fashion.Set note in a chainable fashion.Set reason in a chainable fashion.regarding
(V1ObjectReference regarding) Set regarding in a chainable fashion.related
(V1ObjectReference related) Set related in a chainable fashion.reportingController
(String reportingController) Set reportingController in a chainable fashion.reportingInstance
(String reportingInstance) Set reportingInstance in a chainable fashion.series
(EventsV1EventSeries series) Set series in a chainable fashion.void
Set the action property valuevoid
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setDeprecatedCount
(Integer deprecatedCount) Set the deprecatedCount property valuevoid
setDeprecatedFirstTimestamp
(ZonedDateTime deprecatedFirstTimestamp) Set the deprecatedFirstTimestamp property valuevoid
setDeprecatedLastTimestamp
(ZonedDateTime deprecatedLastTimestamp) Set the deprecatedLastTimestamp property valuevoid
setDeprecatedSource
(V1EventSource deprecatedSource) Set the deprecatedSource property valuevoid
setEventTime
(ZonedDateTime eventTime) Set the eventTime property valuevoid
Set the kind property valuevoid
setMetadata
(V1ObjectMeta metadata) Set the metadata property valuevoid
Set the note property valuevoid
Set the reason property valuevoid
setRegarding
(V1ObjectReference regarding) Set the regarding property valuevoid
setRelated
(V1ObjectReference related) Set the related property valuevoid
setReportingController
(String reportingController) Set the reportingController property valuevoid
setReportingInstance
(String reportingInstance) Set the reportingInstance property valuevoid
setSeries
(EventsV1EventSeries series) Set the series property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_DEPRECATED_COUNT
- See Also:
-
JSON_PROPERTY_DEPRECATED_FIRST_TIMESTAMP
- See Also:
-
JSON_PROPERTY_DEPRECATED_LAST_TIMESTAMP
- See Also:
-
JSON_PROPERTY_DEPRECATED_SOURCE
- See Also:
-
JSON_PROPERTY_EVENT_TIME
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_NOTE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_REGARDING
- See Also:
-
JSON_PROPERTY_RELATED
- See Also:
-
JSON_PROPERTY_REPORTING_CONTROLLER
- See Also:
-
JSON_PROPERTY_REPORTING_INSTANCE
- See Also:
-
JSON_PROPERTY_SERIES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
EventsV1Event
-
-
Method Details
-
getAction
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.- Returns:
- the action property value
-
setAction
Set the action property value -
action
Set action in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getApiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value -
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getDeprecatedCount
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.- Returns:
- the deprecatedCount property value
-
setDeprecatedCount
Set the deprecatedCount property value -
deprecatedCount
Set deprecatedCount in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getDeprecatedFirstTimestamp
deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.- Returns:
- the deprecatedFirstTimestamp property value
-
setDeprecatedFirstTimestamp
Set the deprecatedFirstTimestamp property value -
deprecatedFirstTimestamp
Set deprecatedFirstTimestamp in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getDeprecatedLastTimestamp
deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.- Returns:
- the deprecatedLastTimestamp property value
-
setDeprecatedLastTimestamp
Set the deprecatedLastTimestamp property value -
deprecatedLastTimestamp
Set deprecatedLastTimestamp in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getDeprecatedSource
- Returns:
- the deprecatedSource property value
-
setDeprecatedSource
Set the deprecatedSource property value -
deprecatedSource
Set deprecatedSource in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getEventTime
eventTime is the time when this Event was first observed. It is required.- Returns:
- the eventTime property value
-
setEventTime
Set the eventTime property value -
eventTime
Set eventTime in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getKind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getMetadata
- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value -
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
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.- Returns:
- the note property value
-
setNote
Set the note property value -
note
Set note in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getReason
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.- Returns:
- the reason property value
-
setReason
Set the reason property value -
reason
Set reason in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getRegarding
- Returns:
- the regarding property value
-
setRegarding
Set the regarding property value -
regarding
Set regarding in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getRelated
- Returns:
- the related property value
-
setRelated
Set the related property value -
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.- Returns:
- the reportingController property value
-
setReportingController
Set the reportingController property value -
reportingController
Set reportingController in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
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.- Returns:
- the reportingInstance property value
-
setReportingInstance
Set the reportingInstance property value -
reportingInstance
Set reportingInstance in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getSeries
- Returns:
- the series property value
-
setSeries
Set the series property value -
series
Set series in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
getType
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.- Returns:
- the type property value
-
setType
Set the type property value -
type
Set type in a chainable fashion.- Returns:
- The same instance of EventsV1Event for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-