public class V1Event extends Object
Constructor and Description |
---|
V1Event() |
Modifier and Type | Method and Description |
---|---|
V1Event |
apiVersion(String apiVersion) |
V1Event |
count(Integer count) |
boolean |
equals(Object o) |
V1Event |
firstTimestamp(org.joda.time.DateTime firstTimestamp) |
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 |
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.
|
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) |
void |
setApiVersion(String apiVersion) |
void |
setCount(Integer count) |
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 |
setSource(V1EventSource source) |
void |
setType(String type) |
V1Event |
source(V1EventSource source) |
String |
toString() |
V1Event |
type(String type) |
public String getApiVersion()
public void setApiVersion(String apiVersion)
public Integer getCount()
public void setCount(Integer count)
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 source(V1EventSource source)
public V1EventSource getSource()
public void setSource(V1EventSource source)
public String getType()
public void setType(String type)
Copyright © 2018. All rights reserved.