@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 AWS DMS resource type.
| 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 AWS DMS resource that generates events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 AWS 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 AWS DMS resource that generates events.
|
public void setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
sourceType - The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
public String getSourceType()
The type of AWS 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 AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
sourceType - The type of AWS 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 ObjectObject.toString()public EventCategoryGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.