Class CoreV1Event
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.CoreV1Event
- All Implemented Interfaces:
KubernetesObject,KubernetesType
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class CoreV1Event
extends Object
implements KubernetesObject
Event is a report of an event somewhere in the cluster. 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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet action in a chainable fashion.apiVersion(String apiVersion) Set apiVersion in a chainable fashion.Set count in a chainable fashion.booleaneventTime(ZonedDateTime eventTime) Set eventTime in a chainable fashion.firstTimestamp(ZonedDateTime firstTimestamp) Set firstTimestamp in a chainable fashion.What action was taken/failed regarding to the Regarding object.APIVersion defines the versioned schema of this representation of an object.getCount()The number of times this event has occurred.Time when this Event was first observed.The time at which the event was first recorded.getKind()Kind is a string value representing the REST resource this object represents.The time at which the most recent occurrence of this event was recorded.A human-readable description of the status of this operation.Gets metadata.This should be a short, machine understandable string that gives the reason for the transition into the object's current status.Name of the controller that emitted this Event, e.g.ID of the controller instance, e.g.getType()Type of this event (Normal, Warning), new types could be added in the futureinthashCode()involvedObject(V1ObjectReference involvedObject) Set involvedObject in a chainable fashion.Set kind in a chainable fashion.lastTimestamp(ZonedDateTime lastTimestamp) Set lastTimestamp in a chainable fashion.Set message in a chainable fashion.metadata(V1ObjectMeta metadata) Set metadata in a chainable fashion.Set reason in a chainable fashion.related(V1ObjectReference related) Set related in a chainable fashion.reportingComponent(String reportingComponent) Set reportingComponent in a chainable fashion.reportingInstance(String reportingInstance) Set reportingInstance in a chainable fashion.series(CoreV1EventSeries series) Set series in a chainable fashion.voidSet the action property valuevoidsetApiVersion(String apiVersion) Set the apiVersion property valuevoidSet the count property valuevoidsetEventTime(ZonedDateTime eventTime) Set the eventTime property valuevoidsetFirstTimestamp(ZonedDateTime firstTimestamp) Set the firstTimestamp property valuevoidsetInvolvedObject(V1ObjectReference involvedObject) Set the involvedObject property valuevoidSet the kind property valuevoidsetLastTimestamp(ZonedDateTime lastTimestamp) Set the lastTimestamp property valuevoidsetMessage(String message) Set the message property valuevoidsetMetadata(V1ObjectMeta metadata) Set the metadata property valuevoidSet the reason property valuevoidsetRelated(V1ObjectReference related) Set the related property valuevoidsetReportingComponent(String reportingComponent) Set the reportingComponent property valuevoidsetReportingInstance(String reportingInstance) Set the reportingInstance property valuevoidsetSeries(CoreV1EventSeries series) Set the series property valuevoidsetSource(V1EventSource source) Set the source property valuevoidSet the type property valuesource(V1EventSource source) Set source in a chainable fashion.toString()Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_INVOLVED_OBJECT
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_EVENT_TIME
- See Also:
-
JSON_PROPERTY_FIRST_TIMESTAMP
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_LAST_TIMESTAMP
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_RELATED
- See Also:
-
JSON_PROPERTY_REPORTING_COMPONENT
- See Also:
-
JSON_PROPERTY_REPORTING_INSTANCE
- See Also:
-
JSON_PROPERTY_SERIES
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CoreV1Event
-
-
Method Details
-
getInvolvedObject
- Returns:
- the involvedObject property value
-
setInvolvedObject
Set the involvedObject property value- Parameters:
involvedObject- property value to set
-
involvedObject
Set involvedObject in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getMetadata
Description copied from interface:KubernetesObjectGets metadata.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
- Specified by:
getMetadatain interfaceKubernetesObject- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value- Parameters:
metadata- property value to set
-
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getAction
What action was taken/failed regarding to the Regarding object.- Returns:
- the action property value
-
setAction
Set the action property value- Parameters:
action- property value to set
-
action
Set action in a chainable fashion.- Returns:
- The same instance of CoreV1Event 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- Specified by:
getApiVersionin interfaceKubernetesType- Returns:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value- Parameters:
apiVersion- property value to set
-
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getCount
The number of times this event has occurred.- Returns:
- the count property value
-
setCount
Set the count property value- Parameters:
count- property value to set
-
count
Set count in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getEventTime
Time when this Event was first observed.- Returns:
- the eventTime property value
-
setEventTime
Set the eventTime property value- Parameters:
eventTime- property value to set
-
eventTime
Set eventTime in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getFirstTimestamp
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)- Returns:
- the firstTimestamp property value
-
setFirstTimestamp
Set the firstTimestamp property value- Parameters:
firstTimestamp- property value to set
-
firstTimestamp
Set firstTimestamp in a chainable fashion.- Returns:
- The same instance of CoreV1Event 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- Specified by:
getKindin interfaceKubernetesType- Returns:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getLastTimestamp
The time at which the most recent occurrence of this event was recorded.- Returns:
- the lastTimestamp property value
-
setLastTimestamp
Set the lastTimestamp property value- Parameters:
lastTimestamp- property value to set
-
lastTimestamp
Set lastTimestamp in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getMessage
A human-readable description of the status of this operation.- Returns:
- the message property value
-
setMessage
Set the message property value- Parameters:
message- property value to set
-
message
Set message in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getReason
This should be a short, machine understandable string that gives the reason for the transition into the object's current status.- Returns:
- the reason property value
-
setReason
Set the reason property value- Parameters:
reason- property value to set
-
reason
Set reason in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getRelated
- Returns:
- the related property value
-
setRelated
Set the related property value- Parameters:
related- property value to set
-
getReportingComponent
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.- Returns:
- the reportingComponent property value
-
setReportingComponent
Set the reportingComponent property value- Parameters:
reportingComponent- property value to set
-
reportingComponent
Set reportingComponent in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getReportingInstance
ID of the controller instance, e.g. `kubelet-xyzf`.- Returns:
- the reportingInstance property value
-
setReportingInstance
Set the reportingInstance property value- Parameters:
reportingInstance- property value to set
-
reportingInstance
Set reportingInstance in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getSeries
- Returns:
- the series property value
-
setSeries
Set the series property value- Parameters:
series- property value to set
-
series
Set series in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getSource
- Returns:
- the source property value
-
setSource
Set the source property value- Parameters:
source- property value to set
-
source
Set source in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
getType
Type of this event (Normal, Warning), new types could be added in the future- Returns:
- the type property value
-
setType
Set the type property value- Parameters:
type- property value to set
-
type
Set type in a chainable fashion.- Returns:
- The same instance of CoreV1Event for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-