public class EventCategoriesMap extends Object implements Serializable
Contains the results of a successful invocation of the DescribeEventCategories action.
Constructor and Description |
---|
EventCategoriesMap() |
Modifier and Type | Method and Description |
---|---|
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)
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.