Package com.amazonaws.services.rds.model
Class EventCategoriesMap
- java.lang.Object
-
- com.amazonaws.services.rds.model.EventCategoriesMap
-
- All Implemented Interfaces:
Serializable,Cloneable
public class EventCategoriesMap extends Object implements Serializable, Cloneable
Contains the results of a successful invocation of the DescribeEventCategories action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventCategoriesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventCategoriesMapclone()booleanequals(Object obj)List<String>getEventCategories()The event categories for the specified source typeStringgetSourceType()The source type that the returned categories belong tointhashCode()voidsetEventCategories(Collection<String> eventCategories)The event categories for the specified source typevoidsetSourceType(String sourceType)The source type that the returned categories belong toStringtoString()Returns a string representation of this object; useful for testing and debugging.EventCategoriesMapwithEventCategories(String... eventCategories)The event categories for the specified source typeEventCategoriesMapwithEventCategories(Collection<String> eventCategories)The event categories for the specified source typeEventCategoriesMapwithSourceType(String sourceType)The source type that the returned categories belong to
-
-
-
Method Detail
-
setSourceType
public void setSourceType(String sourceType)
The source type that the returned categories belong to
- Parameters:
sourceType- The source type that the returned categories belong to
-
getSourceType
public String getSourceType()
The source type that the returned categories belong to
- Returns:
- The source type that the returned categories belong to
-
withSourceType
public EventCategoriesMap withSourceType(String sourceType)
The source type that the returned categories belong to
- Parameters:
sourceType- The source type that the returned categories belong to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEventCategories
public List<String> getEventCategories()
The event categories for the specified source type
- Returns:
- The event categories for the specified source type
-
setEventCategories
public void setEventCategories(Collection<String> eventCategories)
The event categories for the specified source type
- Parameters:
eventCategories- The event categories for the specified source type
-
withEventCategories
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)orwithEventCategories(java.util.Collection)if you want to override the existing values.- Parameters:
eventCategories- The event categories for the specified source type- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEventCategories
public EventCategoriesMap withEventCategories(Collection<String> eventCategories)
The event categories for the specified source type
- Parameters:
eventCategories- The event categories for the specified source type- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventCategoriesMap clone()
-
-