public class EventCategoriesMap extends Object implements Serializable, Cloneable
Describes event categories.
| Constructor and Description |
|---|
EventCategoriesMap() |
| Modifier and Type | Method and Description |
|---|---|
EventCategoriesMap |
clone() |
boolean |
equals(Object obj) |
List<EventInfoMap> |
getEvents()
The events in the event category.
|
String |
getSourceType()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventCategoriesMap |
withEvents(Collection<EventInfoMap> events)
The events in the event category.
|
EventCategoriesMap |
withEvents(EventInfoMap... events)
The events in the event category.
|
EventCategoriesMap |
withSourceType(String sourceType)
The source type, such as cluster or cluster-snapshot, that the returned
categories belong to.
|
public void setSourceType(String sourceType)
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
sourceType - The source type, such as cluster or cluster-snapshot, that the
returned categories belong to.public String getSourceType()
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
public EventCategoriesMap withSourceType(String sourceType)
The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
sourceType - The source type, such as cluster or cluster-snapshot, that the
returned categories belong to.public List<EventInfoMap> getEvents()
The events in the event category.
public void setEvents(Collection<EventInfoMap> events)
The events in the event category.
events - The events in the event category.public EventCategoriesMap withEvents(EventInfoMap... events)
The events in the event category.
NOTE: This method appends the values to the existing list (if
any). Use setEvents(java.util.Collection) or
withEvents(java.util.Collection) if you want to override the
existing values.
events - The events in the event category.public EventCategoriesMap withEvents(Collection<EventInfoMap> events)
The events in the event category.
events - The events in the event category.public String toString()
toString in class ObjectObject.toString()public EventCategoriesMap clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.