@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventSubscription extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EventSubscription() |
Modifier and Type | Method and Description |
---|---|
EventSubscription |
clone() |
boolean |
equals(Object obj) |
String |
getCustomerAwsId()
The AWS customer account associated with the AWS DMS event notification subscription.
|
String |
getCustSubscriptionId()
The AWS DMS event notification subscription Id.
|
Boolean |
getEnabled()
Boolean value that indicates if the event subscription is enabled.
|
List<String> |
getEventCategoriesList()
A lists of event categories.
|
String |
getSnsTopicArn()
The topic ARN of the AWS DMS event notification subscription.
|
List<String> |
getSourceIdsList()
A list of source Ids for the event subscription.
|
String |
getSourceType()
The type of AWS DMS resource that generates events.
|
String |
getStatus()
The status of the AWS DMS event notification subscription.
|
String |
getSubscriptionCreationTime()
The time the RDS event notification subscription was created.
|
int |
hashCode() |
Boolean |
isEnabled()
Boolean value that indicates if the event subscription is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerAwsId(String customerAwsId)
The AWS customer account associated with the AWS DMS event notification subscription.
|
void |
setCustSubscriptionId(String custSubscriptionId)
The AWS DMS event notification subscription Id.
|
void |
setEnabled(Boolean enabled)
Boolean value that indicates if the event subscription is enabled.
|
void |
setEventCategoriesList(Collection<String> eventCategoriesList)
A lists of event categories.
|
void |
setSnsTopicArn(String snsTopicArn)
The topic ARN of the AWS DMS event notification subscription.
|
void |
setSourceIdsList(Collection<String> sourceIdsList)
A list of source Ids for the event subscription.
|
void |
setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
void |
setStatus(String status)
The status of the AWS DMS event notification subscription.
|
void |
setSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EventSubscription |
withCustomerAwsId(String customerAwsId)
The AWS customer account associated with the AWS DMS event notification subscription.
|
EventSubscription |
withCustSubscriptionId(String custSubscriptionId)
The AWS DMS event notification subscription Id.
|
EventSubscription |
withEnabled(Boolean enabled)
Boolean value that indicates if the event subscription is enabled.
|
EventSubscription |
withEventCategoriesList(Collection<String> eventCategoriesList)
A lists of event categories.
|
EventSubscription |
withEventCategoriesList(String... eventCategoriesList)
A lists of event categories.
|
EventSubscription |
withSnsTopicArn(String snsTopicArn)
The topic ARN of the AWS DMS event notification subscription.
|
EventSubscription |
withSourceIdsList(Collection<String> sourceIdsList)
A list of source Ids for the event subscription.
|
EventSubscription |
withSourceIdsList(String... sourceIdsList)
A list of source Ids for the event subscription.
|
EventSubscription |
withSourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
EventSubscription |
withStatus(String status)
The status of the AWS DMS event notification subscription.
|
EventSubscription |
withSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.
|
public void setCustomerAwsId(String customerAwsId)
The AWS customer account associated with the AWS DMS event notification subscription.
customerAwsId
- The AWS customer account associated with the AWS DMS event notification subscription.public String getCustomerAwsId()
The AWS customer account associated with the AWS DMS event notification subscription.
public EventSubscription withCustomerAwsId(String customerAwsId)
The AWS customer account associated with the AWS DMS event notification subscription.
customerAwsId
- The AWS customer account associated with the AWS DMS event notification subscription.public void setCustSubscriptionId(String custSubscriptionId)
The AWS DMS event notification subscription Id.
custSubscriptionId
- The AWS DMS event notification subscription Id.public String getCustSubscriptionId()
The AWS DMS event notification subscription Id.
public EventSubscription withCustSubscriptionId(String custSubscriptionId)
The AWS DMS event notification subscription Id.
custSubscriptionId
- The AWS DMS event notification subscription Id.public void setSnsTopicArn(String snsTopicArn)
The topic ARN of the AWS DMS event notification subscription.
snsTopicArn
- The topic ARN of the AWS DMS event notification subscription.public String getSnsTopicArn()
The topic ARN of the AWS DMS event notification subscription.
public EventSubscription withSnsTopicArn(String snsTopicArn)
The topic ARN of the AWS DMS event notification subscription.
snsTopicArn
- The topic ARN of the AWS DMS event notification subscription.public void setStatus(String status)
The status of the AWS DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
status
- The status of the AWS DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
public String getStatus()
The status of the AWS DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
public EventSubscription withStatus(String status)
The status of the AWS DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
status
- The status of the AWS DMS event notification subscription.
Constraints:
Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist
The status "no-permission" indicates that AWS DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
public void setSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.
subscriptionCreationTime
- The time the RDS event notification subscription was created.public String getSubscriptionCreationTime()
The time the RDS event notification subscription was created.
public EventSubscription withSubscriptionCreationTime(String subscriptionCreationTime)
The time the RDS event notification subscription was created.
subscriptionCreationTime
- The time the RDS event notification subscription was created.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 EventSubscription 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> getSourceIdsList()
A list of source Ids for the event subscription.
public void setSourceIdsList(Collection<String> sourceIdsList)
A list of source Ids for the event subscription.
sourceIdsList
- A list of source Ids for the event subscription.public EventSubscription withSourceIdsList(String... sourceIdsList)
A list of source Ids for the event subscription.
NOTE: This method appends the values to the existing list (if any). Use
setSourceIdsList(java.util.Collection)
or withSourceIdsList(java.util.Collection)
if you want
to override the existing values.
sourceIdsList
- A list of source Ids for the event subscription.public EventSubscription withSourceIdsList(Collection<String> sourceIdsList)
A list of source Ids for the event subscription.
sourceIdsList
- A list of source Ids for the event subscription.public List<String> getEventCategoriesList()
A lists of event categories.
public void setEventCategoriesList(Collection<String> eventCategoriesList)
A lists of event categories.
eventCategoriesList
- A lists of event categories.public EventSubscription withEventCategoriesList(String... eventCategoriesList)
A lists of event categories.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategoriesList(java.util.Collection)
or withEventCategoriesList(java.util.Collection)
if you want to override the existing values.
eventCategoriesList
- A lists of event categories.public EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)
A lists of event categories.
eventCategoriesList
- A lists of event categories.public void setEnabled(Boolean enabled)
Boolean value that indicates if the event subscription is enabled.
enabled
- Boolean value that indicates if the event subscription is enabled.public Boolean getEnabled()
Boolean value that indicates if the event subscription is enabled.
public EventSubscription withEnabled(Boolean enabled)
Boolean value that indicates if the event subscription is enabled.
enabled
- Boolean value that indicates if the event subscription is enabled.public Boolean isEnabled()
Boolean value that indicates if the event subscription is enabled.
public String toString()
toString
in class Object
Object.toString()
public EventSubscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.