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:
  • Constructor Details

    • EventCategoriesMap

      public EventCategoriesMap()
  • Method Details

    • 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) or withEventCategories(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public EventCategoriesMap clone()
      Overrides:
      clone in class Object