Class EventInfoMap
- java.lang.Object
-
- com.amazonaws.services.redshift.model.EventInfoMap
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EventInfoMap extends Object implements Serializable, Cloneable
Describes event information.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventInfoMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventInfoMapclone()booleanequals(Object obj)List<String>getEventCategories()The category of an Amazon Redshift event.StringgetEventDescription()The description of an Amazon Redshift event.StringgetEventId()The identifier of an Amazon Redshift event.StringgetSeverity()The severity of the event.inthashCode()voidsetEventCategories(Collection<String> eventCategories)The category of an Amazon Redshift event.voidsetEventDescription(String eventDescription)The description of an Amazon Redshift event.voidsetEventId(String eventId)The identifier of an Amazon Redshift event.voidsetSeverity(String severity)The severity of the event.StringtoString()Returns a string representation of this object; useful for testing and debugging.EventInfoMapwithEventCategories(String... eventCategories)The category of an Amazon Redshift event.EventInfoMapwithEventCategories(Collection<String> eventCategories)The category of an Amazon Redshift event.EventInfoMapwithEventDescription(String eventDescription)The description of an Amazon Redshift event.EventInfoMapwithEventId(String eventId)The identifier of an Amazon Redshift event.EventInfoMapwithSeverity(String severity)The severity of the event.
-
-
-
Method Detail
-
setEventId
public void setEventId(String eventId)
The identifier of an Amazon Redshift event.
- Parameters:
eventId- The identifier of an Amazon Redshift event.
-
getEventId
public String getEventId()
The identifier of an Amazon Redshift event.
- Returns:
- The identifier of an Amazon Redshift event.
-
withEventId
public EventInfoMap withEventId(String eventId)
The identifier of an Amazon Redshift event.
- Parameters:
eventId- The identifier of an Amazon Redshift event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEventCategories
public List<String> getEventCategories()
The category of an Amazon Redshift event.
- Returns:
- The category of an Amazon Redshift event.
-
setEventCategories
public void setEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
- Parameters:
eventCategories- The category of an Amazon Redshift event.
-
withEventCategories
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)orwithEventCategories(java.util.Collection)if you want to override the existing values.- Parameters:
eventCategories- The category of an Amazon Redshift event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEventCategories
public EventInfoMap withEventCategories(Collection<String> eventCategories)
The category of an Amazon Redshift event.
- Parameters:
eventCategories- The category of an Amazon Redshift event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventDescription
public void setEventDescription(String eventDescription)
The description of an Amazon Redshift event.
- Parameters:
eventDescription- The description of an Amazon Redshift event.
-
getEventDescription
public String getEventDescription()
The description of an Amazon Redshift event.
- Returns:
- The description of an Amazon Redshift event.
-
withEventDescription
public EventInfoMap withEventDescription(String eventDescription)
The description of an Amazon Redshift event.
- Parameters:
eventDescription- The description of an Amazon Redshift event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSeverity
public void setSeverity(String severity)
The severity of the event.
Values: ERROR, INFO
- Parameters:
severity- The severity of the event.Values: ERROR, INFO
-
getSeverity
public String getSeverity()
The severity of the event.
Values: ERROR, INFO
- Returns:
- The severity of the event.
Values: ERROR, INFO
-
withSeverity
public EventInfoMap withSeverity(String severity)
The severity of the event.
Values: ERROR, INFO
- Parameters:
severity- The severity of the event.Values: ERROR, INFO
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventInfoMap clone()
-
-