public class EventCategoriesMap extends Object implements Serializable
Constructor and Description |
---|
EventCategoriesMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<EventInfoMap> |
getEvents()
The events in the event category.
|
String |
getSourceType()
The Amazon Redshift 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 Amazon Redshift 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 Amazon Redshift source type, such as cluster or cluster-snapshot,
that the returned categories belong to.
|
public String getSourceType()
public void setSourceType(String sourceType)
sourceType
- The Amazon Redshift source type, such as cluster or cluster-snapshot,
that the returned categories belong to.public EventCategoriesMap withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
sourceType
- The Amazon Redshift source type, such as cluster or cluster-snapshot,
that the returned categories belong to.public List<EventInfoMap> getEvents()
public void setEvents(Collection<EventInfoMap> events)
events
- The events in the event category.public EventCategoriesMap withEvents(EventInfoMap... events)
Returns a reference to this object so that method calls can be chained together.
events
- The events in the event category.public EventCategoriesMap withEvents(Collection<EventInfoMap> events)
Returns a reference to this object so that method calls can be chained together.
events
- The events in the event category.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.