@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventCategoryGroup extends Object implements Serializable, Cloneable, StructuredPojo
Lists categories of events subscribed to, and generated by, the applicable DMS resource type. This data type appears
in response to the
DescribeEventCategories
action.
Constructor and Description |
---|
EventCategoryGroup() |
Modifier and Type | Method and Description |
---|---|
EventCategoryGroup |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventCategories()
A list of event categories from a source type that you've chosen.
|
String |
getSourceType()
The type of DMS resource that generates events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventCategories(Collection<String> eventCategories)
A list of event categories from a source type that you've chosen.
|
void |
setSourceType(String sourceType)
The type of DMS resource that generates events.
|
String |
toString()
Returns a string representation of this object.
|
EventCategoryGroup |
withEventCategories(Collection<String> eventCategories)
A list of event categories from a source type that you've chosen.
|
EventCategoryGroup |
withEventCategories(String... eventCategories)
A list of event categories from a source type that you've chosen.
|
EventCategoryGroup |
withSourceType(String sourceType)
The type of DMS resource that generates events.
|
public void setSourceType(String sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
public String getSourceType()
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
Valid values: replication-instance | replication-server | security-group | replication-task
public EventCategoryGroup withSourceType(String sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
public List<String> getEventCategories()
A list of event categories from a source type that you've chosen.
public void setEventCategories(Collection<String> eventCategories)
A list of event categories from a source type that you've chosen.
eventCategories
- A list of event categories from a source type that you've chosen.public EventCategoryGroup withEventCategories(String... eventCategories)
A list of event categories from a source type that you've chosen.
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
- A list of event categories from a source type that you've chosen.public EventCategoryGroup withEventCategories(Collection<String> eventCategories)
A list of event categories from a source type that you've chosen.
eventCategories
- A list of event categories from a source type that you've chosen.public String toString()
toString
in class Object
Object.toString()
public EventCategoryGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.