@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-09-25T07:41:36.316Z") public class ApiEvent extends Object
Constructor and Description |
---|
ApiEvent() |
Modifier and Type | Method and Description |
---|---|
ApiEvent |
addAttributesItem(ApiEventAttribute attributesItem) |
ApiEvent |
alert(Boolean alert) |
ApiEvent |
attributes(List<ApiEventAttribute> attributes) |
ApiEvent |
category(ApiEventCategory category) |
ApiEvent |
content(String content) |
boolean |
equals(Object o) |
Boolean |
getAlert()
Whether the event is promoted to an alert according to configuration.
|
List<ApiEventAttribute> |
getAttributes()
A list of key-value attribute pairs.
|
ApiEventCategory |
getCategory()
The category of this event -- whether it is a health event, an audit event, an activity event, etc.
|
String |
getContent()
The content payload of this event.
|
String |
getId()
A unique ID for this event.
|
ApiEventSeverity |
getSeverity()
The severity of the event.
|
String |
getTimeOccurred()
When the event was generated.
|
String |
getTimeReceived()
When the event was stored by Cloudera Manager.
|
int |
hashCode() |
ApiEvent |
id(String id) |
void |
setAlert(Boolean alert) |
void |
setAttributes(List<ApiEventAttribute> attributes) |
void |
setCategory(ApiEventCategory category) |
void |
setContent(String content) |
void |
setId(String id) |
void |
setSeverity(ApiEventSeverity severity) |
void |
setTimeOccurred(String timeOccurred) |
void |
setTimeReceived(String timeReceived) |
ApiEvent |
severity(ApiEventSeverity severity) |
ApiEvent |
timeOccurred(String timeOccurred) |
ApiEvent |
timeReceived(String timeReceived) |
String |
toString() |
public String getId()
public void setId(String id)
public String getContent()
public void setContent(String content)
public String getTimeOccurred()
public void setTimeOccurred(String timeOccurred)
public String getTimeReceived()
public void setTimeReceived(String timeReceived)
public ApiEvent category(ApiEventCategory category)
public ApiEventCategory getCategory()
public void setCategory(ApiEventCategory category)
public ApiEvent severity(ApiEventSeverity severity)
public ApiEventSeverity getSeverity()
public void setSeverity(ApiEventSeverity severity)
public Boolean getAlert()
public void setAlert(Boolean alert)
public ApiEvent attributes(List<ApiEventAttribute> attributes)
public ApiEvent addAttributesItem(ApiEventAttribute attributesItem)
public List<ApiEventAttribute> getAttributes()
public void setAttributes(List<ApiEventAttribute> attributes)
Copyright © 2019. All rights reserved.