@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventCategoriesMap extends Object implements Serializable, Cloneable
An event source type, accompanied by one or more event category names.
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.
|
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 void setSourceType(String sourceType)
The source type that the returned categories belong to.
sourceType
- The source type that the returned categories belong to.public String getSourceType()
The source type that the returned categories belong to.
public EventCategoriesMap withSourceType(String sourceType)
The source type that the returned categories belong to.
sourceType
- The source type that the returned categories belong to.public List<String> getEventCategories()
The event categories for the specified source type.
public void setEventCategories(Collection<String> eventCategories)
The event categories for the specified source type.
eventCategories
- The event categories for the specified source type.public EventCategoriesMap withEventCategories(String... eventCategories)
The event categories for the specified source type.
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.
eventCategories
- The event categories for the specified source type.public EventCategoriesMap withEventCategories(Collection<String> eventCategories)
The event categories for the specified source type.
eventCategories
- The event categories for the specified source type.public String toString()
toString
in class Object
Object.toString()
public EventCategoriesMap clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.