@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventInfoMap extends Object implements Serializable, Cloneable
Describes event information.
Constructor and Description |
---|
EventInfoMap() |
Modifier and Type | Method and Description |
---|---|
EventInfoMap |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventCategories()
The category of an Amazon Redshift event.
|
String |
getEventDescription()
The description of an Amazon Redshift event.
|
String |
getEventId()
The identifier of an Amazon Redshift event.
|
String |
getSeverity()
The severity of the event.
|
int |
hashCode() |
void |
setEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
|
void |
setEventDescription(String eventDescription)
The description of an Amazon Redshift event.
|
void |
setEventId(String eventId)
The identifier of an Amazon Redshift event.
|
void |
setSeverity(String severity)
The severity of the event.
|
String |
toString()
Returns a string representation of this object.
|
EventInfoMap |
withEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
|
EventInfoMap |
withEventCategories(String... eventCategories)
The category of an Amazon Redshift event.
|
EventInfoMap |
withEventDescription(String eventDescription)
The description of an Amazon Redshift event.
|
EventInfoMap |
withEventId(String eventId)
The identifier of an Amazon Redshift event.
|
EventInfoMap |
withSeverity(String severity)
The severity of the event.
|
public void setEventId(String eventId)
The identifier of an Amazon Redshift event.
eventId
- The identifier of an Amazon Redshift event.public String getEventId()
The identifier of an Amazon Redshift event.
public EventInfoMap withEventId(String eventId)
The identifier of an Amazon Redshift event.
eventId
- The identifier of an Amazon Redshift event.public List<String> getEventCategories()
The category of an Amazon Redshift event.
public void setEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
eventCategories
- The category of an Amazon Redshift event.public EventInfoMap withEventCategories(String... eventCategories)
The category of an Amazon Redshift event.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you
want to override the existing values.
eventCategories
- The category of an Amazon Redshift event.public EventInfoMap withEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
eventCategories
- The category of an Amazon Redshift event.public void setEventDescription(String eventDescription)
The description of an Amazon Redshift event.
eventDescription
- The description of an Amazon Redshift event.public String getEventDescription()
The description of an Amazon Redshift event.
public EventInfoMap withEventDescription(String eventDescription)
The description of an Amazon Redshift event.
eventDescription
- The description of an Amazon Redshift event.public void setSeverity(String severity)
The severity of the event.
Values: ERROR, INFO
severity
- The severity of the event.
Values: ERROR, INFO
public String getSeverity()
The severity of the event.
Values: ERROR, INFO
Values: ERROR, INFO
public EventInfoMap withSeverity(String severity)
The severity of the event.
Values: ERROR, INFO
severity
- The severity of the event.
Values: ERROR, INFO
public String toString()
toString
in class Object
Object.toString()
public EventInfoMap clone()