Class EventCategoriesMap
java.lang.Object
com.amazonaws.services.redshift.model.EventCategoriesMap
- All Implemented Interfaces:
Serializable
,Cloneable
Describes event categories.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The events in the event category.The source type, such as cluster or cluster-snapshot, that the returned categories belong to.int
hashCode()
void
setEvents
(Collection<EventInfoMap> events) The events in the event category.void
setSourceType
(String sourceType) The source type, such as cluster or cluster-snapshot, that the returned categories belong to.toString()
Returns a string representation of this object; useful for testing and debugging.withEvents
(EventInfoMap... events) The events in the event category.withEvents
(Collection<EventInfoMap> events) The events in the event category.withSourceType
(String sourceType) The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
-
Constructor Details
-
EventCategoriesMap
public EventCategoriesMap()
-
-
Method Details
-
setSourceType
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
- Parameters:
sourceType
- The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
-
getSourceType
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
- Returns:
- The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
-
withSourceType
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
- Parameters:
sourceType
- The source type, such as cluster or cluster-snapshot, that the returned categories belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEvents
The events in the event category.
- Returns:
- The events in the event category.
-
setEvents
The events in the event category.
- Parameters:
events
- The events in the event category.
-
withEvents
The events in the event category.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
orwithEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
events
- The events in the event category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
The events in the event category.
- Parameters:
events
- The events in the event category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-