@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventCategoryGroup extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
EventCategoryGroup() |
| Modifier and Type | Method and Description |
|---|---|
EventCategoryGroup |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventCategories()
A list of event categories for a
SourceType that you want to subscribe to. |
String |
getSourceType()
The type of AWS 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 for a
SourceType that you want to subscribe to. |
void |
setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EventCategoryGroup |
withEventCategories(Collection<String> eventCategories)
A list of event categories for a
SourceType that you want to subscribe to. |
EventCategoryGroup |
withEventCategories(String... eventCategories)
A list of event categories for a
SourceType that you want to subscribe to. |
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 | migration-task
sourceType - The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | migration-task
public String getSourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | migration-task
Valid values: replication-instance | replication-server | security-group | migration-task
public EventCategoryGroup withSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | migration-task
sourceType - The type of AWS DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | migration-task
public List<String> getEventCategories()
A list of event categories for a SourceType that you want to subscribe to.
SourceType that you want to subscribe to.public void setEventCategories(Collection<String> eventCategories)
A list of event categories for a SourceType that you want to subscribe to.
eventCategories - A list of event categories for a SourceType that you want to subscribe to.public EventCategoryGroup withEventCategories(String... eventCategories)
A list of event categories for a SourceType that you want to subscribe to.
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 for a SourceType that you want to subscribe to.public EventCategoryGroup withEventCategories(Collection<String> eventCategories)
A list of event categories for a SourceType that you want to subscribe to.
eventCategories - A list of event categories for a SourceType that you want to subscribe to.public String toString()
toString in class ObjectObject.toString()public EventCategoryGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.