Class Event
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.events.v1beta1.Event
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EventBuilder>,io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Event extends Object implements io.fabric8.kubernetes.api.builder.Editable<EventBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event()No args constructor for use in serializationEvent(String action, String apiVersion, Integer deprecatedCount, String deprecatedFirstTimestamp, String deprecatedLastTimestamp, io.fabric8.kubernetes.api.model.EventSource deprecatedSource, io.fabric8.kubernetes.api.model.MicroTime eventTime, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String note, String reason, io.fabric8.kubernetes.api.model.ObjectReference regarding, io.fabric8.kubernetes.api.model.ObjectReference related, String reportingController, String reportingInstance, EventSeries series, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventBuilderedit()StringgetAction()action is what action was taken/failed regarding to the regarding object.Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.IntegergetDeprecatedCount()deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.StringgetDeprecatedFirstTimestamp()Event is a report of an event somewhere in the cluster.StringgetDeprecatedLastTimestamp()Event is a report of an event somewhere in the cluster.io.fabric8.kubernetes.api.model.EventSourcegetDeprecatedSource()Event is a report of an event somewhere in the cluster.io.fabric8.kubernetes.api.model.MicroTimegetEventTime()Event is a report of an event somewhere in the cluster.StringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()Event is a report of an event somewhere in the cluster.StringgetNote()note is a human-readable description of the status of this operation.StringgetReason()reason is why the action was taken.io.fabric8.kubernetes.api.model.ObjectReferencegetRegarding()Event is a report of an event somewhere in the cluster.io.fabric8.kubernetes.api.model.ObjectReferencegetRelated()Event is a report of an event somewhere in the cluster.StringgetReportingController()reportingController is the name of the controller that emitted this Event, e.g.StringgetReportingInstance()reportingInstance is the ID of the controller instance, e.g.EventSeriesgetSeries()Event is a report of an event somewhere in the cluster.StringgetType()type is the type of this event (Normal, Warning), new types could be added in the future.voidsetAction(String action)action is what action was taken/failed regarding to the regarding object.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetDeprecatedCount(Integer deprecatedCount)deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.voidsetDeprecatedFirstTimestamp(String deprecatedFirstTimestamp)Event is a report of an event somewhere in the cluster.voidsetDeprecatedLastTimestamp(String deprecatedLastTimestamp)Event is a report of an event somewhere in the cluster.voidsetDeprecatedSource(io.fabric8.kubernetes.api.model.EventSource deprecatedSource)Event is a report of an event somewhere in the cluster.voidsetEventTime(io.fabric8.kubernetes.api.model.MicroTime eventTime)Event is a report of an event somewhere in the cluster.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)Event is a report of an event somewhere in the cluster.voidsetNote(String note)note is a human-readable description of the status of this operation.voidsetReason(String reason)reason is why the action was taken.voidsetRegarding(io.fabric8.kubernetes.api.model.ObjectReference regarding)Event is a report of an event somewhere in the cluster.voidsetRelated(io.fabric8.kubernetes.api.model.ObjectReference related)Event is a report of an event somewhere in the cluster.voidsetReportingController(String reportingController)reportingController is the name of the controller that emitted this Event, e.g.voidsetReportingInstance(String reportingInstance)reportingInstance is the ID of the controller instance, e.g.voidsetSeries(EventSeries series)Event is a report of an event somewhere in the cluster.voidsetType(String type)type is the type of this event (Normal, Warning), new types could be added in the future.EventBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Constructor Detail
-
Event
public Event()
No args constructor for use in serialization
-
Event
public Event(String action, String apiVersion, Integer deprecatedCount, String deprecatedFirstTimestamp, String deprecatedLastTimestamp, io.fabric8.kubernetes.api.model.EventSource deprecatedSource, io.fabric8.kubernetes.api.model.MicroTime eventTime, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String note, String reason, io.fabric8.kubernetes.api.model.ObjectReference regarding, io.fabric8.kubernetes.api.model.ObjectReference related, String reportingController, String reportingInstance, EventSeries series, String type)
-
-
Method Detail
-
getAction
public 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.
-
setAction
public void setAction(String action)
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.
-
getApiVersion
public String 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 interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
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:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getDeprecatedCount
public Integer getDeprecatedCount()
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
-
setDeprecatedCount
public void setDeprecatedCount(Integer deprecatedCount)
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
-
getDeprecatedFirstTimestamp
public String getDeprecatedFirstTimestamp()
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.
-
setDeprecatedFirstTimestamp
public void setDeprecatedFirstTimestamp(String deprecatedFirstTimestamp)
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.
-
getDeprecatedLastTimestamp
public String getDeprecatedLastTimestamp()
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.
-
setDeprecatedLastTimestamp
public void setDeprecatedLastTimestamp(String deprecatedLastTimestamp)
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.
-
getDeprecatedSource
public io.fabric8.kubernetes.api.model.EventSource getDeprecatedSource()
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.
-
setDeprecatedSource
public void setDeprecatedSource(io.fabric8.kubernetes.api.model.EventSource deprecatedSource)
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.
-
getEventTime
public io.fabric8.kubernetes.api.model.MicroTime getEventTime()
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.
-
setEventTime
public void setEventTime(io.fabric8.kubernetes.api.model.MicroTime eventTime)
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.
-
getKind
public String 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 interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setKind
public void setKind(String kind)
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
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
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.- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
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.- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getNote
public 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.
-
setNote
public void setNote(String note)
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
public String getReason()
reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
-
setReason
public void setReason(String reason)
reason is why the action was taken. It is human-readable. This field can have at most 128 characters.
-
getRegarding
public io.fabric8.kubernetes.api.model.ObjectReference getRegarding()
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.
-
setRegarding
public void setRegarding(io.fabric8.kubernetes.api.model.ObjectReference regarding)
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.
-
getRelated
public io.fabric8.kubernetes.api.model.ObjectReference getRelated()
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.
-
setRelated
public void setRelated(io.fabric8.kubernetes.api.model.ObjectReference related)
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.
-
getReportingController
public 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.
-
setReportingController
public void setReportingController(String reportingController)
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
public 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.
-
setReportingInstance
public void setReportingInstance(String reportingInstance)
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
public EventSeries getSeries()
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.
-
setSeries
public void setSeries(EventSeries series)
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.
-
getType
public String getType()
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
-
setType
public void setType(String type)
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.
-
edit
public EventBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EventBuilder>
-
toBuilder
public EventBuilder toBuilder()
-
-