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 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; useful for testing and debugging.EventInfoMap
withEventCategories(String... eventCategories)
The category of an Amazon Redshift event.EventInfoMap
withEventCategories(Collection<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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventInfoMap clone()
-
-