public class V1Event extends Object
Constructor and Description |
---|
V1Event() |
Modifier and Type | Method and Description |
---|---|
V1Event |
action(String action) |
V1Event |
apiVersion(String apiVersion) |
V1Event |
count(Integer count) |
boolean |
equals(Object o) |
V1Event |
eventTime(org.joda.time.DateTime eventTime) |
V1Event |
firstTimestamp(org.joda.time.DateTime firstTimestamp) |
String |
getAction()
What action was taken/failed regarding to the Regarding object.
|
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
Integer |
getCount()
The number of times this event has occurred.
|
org.joda.time.DateTime |
getEventTime()
Time when this Event was first observed.
|
org.joda.time.DateTime |
getFirstTimestamp()
The time at which the event was first recorded.
|
V1ObjectReference |
getInvolvedObject()
The object that this event is about.
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
org.joda.time.DateTime |
getLastTimestamp()
The time at which the most recent occurrence of this event was recorded.
|
String |
getMessage()
A human-readable description of the status of this operation.
|
V1ObjectMeta |
getMetadata()
Standard object's metadata.
|
String |
getReason()
This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
|
V1ObjectReference |
getRelated()
Optional secondary object for more complex actions.
|
String |
getReportingComponent()
Name of the controller that emitted this Event, e.g.
|
String |
getReportingInstance()
ID of the controller instance, e.g.
|
V1EventSeries |
getSeries()
Data about the Event series this event represents or nil if it's a singleton Event.
|
V1EventSource |
getSource()
The component reporting this event.
|
String |
getType()
Type of this event (Normal, Warning), new types could be added in the future
|
int |
hashCode() |
V1Event |
involvedObject(V1ObjectReference involvedObject) |
V1Event |
kind(String kind) |
V1Event |
lastTimestamp(org.joda.time.DateTime lastTimestamp) |
V1Event |
message(String message) |
V1Event |
metadata(V1ObjectMeta metadata) |
V1Event |
reason(String reason) |
V1Event |
related(V1ObjectReference related) |
V1Event |
reportingComponent(String reportingComponent) |
V1Event |
reportingInstance(String reportingInstance) |
V1Event |
series(V1EventSeries series) |
void |
setAction(String action) |
void |
setApiVersion(String apiVersion) |
void |
setCount(Integer count) |
void |
setEventTime(org.joda.time.DateTime eventTime) |
void |
setFirstTimestamp(org.joda.time.DateTime firstTimestamp) |
void |
setInvolvedObject(V1ObjectReference involvedObject) |
void |
setKind(String kind) |
void |
setLastTimestamp(org.joda.time.DateTime lastTimestamp) |
void |
setMessage(String message) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setReason(String reason) |
void |
setRelated(V1ObjectReference related) |
void |
setReportingComponent(String reportingComponent) |
void |
setReportingInstance(String reportingInstance) |
void |
setSeries(V1EventSeries series) |
void |
setSource(V1EventSource source) |
void |
setType(String type) |
V1Event |
source(V1EventSource source) |
String |
toString() |
V1Event |
type(String type) |
public String getAction()
public void setAction(String action)
public String getApiVersion()
public void setApiVersion(String apiVersion)
public Integer getCount()
public void setCount(Integer count)
public V1Event eventTime(org.joda.time.DateTime eventTime)
public org.joda.time.DateTime getEventTime()
public void setEventTime(org.joda.time.DateTime eventTime)
public V1Event firstTimestamp(org.joda.time.DateTime firstTimestamp)
public org.joda.time.DateTime getFirstTimestamp()
public void setFirstTimestamp(org.joda.time.DateTime firstTimestamp)
public V1Event involvedObject(V1ObjectReference involvedObject)
public V1ObjectReference getInvolvedObject()
public void setInvolvedObject(V1ObjectReference involvedObject)
public String getKind()
public void setKind(String kind)
public V1Event lastTimestamp(org.joda.time.DateTime lastTimestamp)
public org.joda.time.DateTime getLastTimestamp()
public void setLastTimestamp(org.joda.time.DateTime lastTimestamp)
public String getMessage()
public void setMessage(String message)
public V1Event metadata(V1ObjectMeta metadata)
public V1ObjectMeta getMetadata()
public void setMetadata(V1ObjectMeta metadata)
public String getReason()
public void setReason(String reason)
public V1Event related(V1ObjectReference related)
public V1ObjectReference getRelated()
public void setRelated(V1ObjectReference related)
public String getReportingComponent()
public void setReportingComponent(String reportingComponent)
public String getReportingInstance()
public void setReportingInstance(String reportingInstance)
public V1Event series(V1EventSeries series)
public V1EventSeries getSeries()
public void setSeries(V1EventSeries series)
public V1Event source(V1EventSource source)
public V1EventSource getSource()
public void setSource(V1EventSource source)
public String getType()
public void setType(String type)
Copyright © 2019. All rights reserved.