public class EventCategoriesMap extends Object implements Serializable, Cloneable
Contains the results of a successful invocation of the DescribeEventCategories action.
Constructor and Description |
---|
EventCategoriesMap() |
Modifier and Type | Method and Description |
---|---|
EventCategoriesMap |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventCategories()
The event categories for the specified source type
|
String |
getSourceType()
The source type that the returned categories belong to
|
int |
hashCode() |
void |
setEventCategories(Collection<String> eventCategories)
The event categories for the specified source type
|
void |
setSourceType(String sourceType)
The source type that the returned categories belong to
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventCategoriesMap |
withEventCategories(Collection<String> eventCategories)
The event categories for the specified source type
|
EventCategoriesMap |
withEventCategories(String... eventCategories)
The event categories for the specified source type
|
EventCategoriesMap |
withSourceType(String sourceType)
The source type that the returned categories belong to
|
public String getSourceType()
public void setSourceType(String sourceType)
sourceType
- The source type that the returned categories belong topublic EventCategoriesMap withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
sourceType
- The source type that the returned categories belong topublic List<String> getEventCategories()
public void setEventCategories(Collection<String> eventCategories)
eventCategories
- The event categories for the specified source typepublic EventCategoriesMap withEventCategories(String... eventCategories)
NOTE: This method appends the values to the existing list (if
any). Use setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
eventCategories
- The event categories for the specified source typepublic EventCategoriesMap withEventCategories(Collection<String> eventCategories)
Returns a reference to this object so that method calls can be chained together.
eventCategories
- The event categories for the specified source typepublic String toString()
toString
in class Object
Object.toString()
public EventCategoriesMap clone()
Copyright © 2015. All rights reserved.