Interface EventSubscription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventSubscription.Builder,
,EventSubscription> SdkBuilder<EventSubscription.Builder,
,EventSubscription> SdkPojo
- Enclosing class:
EventSubscription
-
Method Summary
Modifier and TypeMethodDescriptioncustomerAwsId
(String customerAwsId) The Amazon Web Services customer account associated with the DMS event notification subscription.custSubscriptionId
(String custSubscriptionId) The DMS event notification subscription Id.Boolean value that indicates if the event subscription is enabled.eventCategoriesList
(String... eventCategoriesList) A lists of event categories.eventCategoriesList
(Collection<String> eventCategoriesList) A lists of event categories.snsTopicArn
(String snsTopicArn) The topic ARN of the DMS event notification subscription.sourceIdsList
(String... sourceIdsList) A list of source Ids for the event subscription.sourceIdsList
(Collection<String> sourceIdsList) A list of source Ids for the event subscription.sourceType
(String sourceType) The type of DMS resource that generates events.The status of the DMS event notification subscription.subscriptionCreationTime
(String subscriptionCreationTime) The time the DMS event notification subscription was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
customerAwsId
The Amazon Web Services customer account associated with the DMS event notification subscription.
- Parameters:
customerAwsId
- The Amazon Web Services customer account associated with the DMS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custSubscriptionId
The DMS event notification subscription Id.
- Parameters:
custSubscriptionId
- The DMS event notification subscription Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArn
The topic ARN of the DMS event notification subscription.
- Parameters:
snsTopicArn
- The topic ARN of the DMS event notification subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the 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 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.
- Parameters:
status
- The status of the 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 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionCreationTime
The time the DMS event notification subscription was created.
- Parameters:
subscriptionCreationTime
- The time the DMS event notification subscription was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The type of DMS resource that generates events.
Valid values: replication-instance | replication-server | security-group | replication-task
- Parameters:
sourceType
- The type of DMS resource that generates events.Valid values: replication-instance | replication-server | security-group | replication-task
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
A list of source Ids for the event subscription.
- Parameters:
sourceIdsList
- A list of source Ids for the event subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIdsList
A list of source Ids for the event subscription.
- Parameters:
sourceIdsList
- A list of source Ids for the event subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
A lists of event categories.
- Parameters:
eventCategoriesList
- A lists of event categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategoriesList
A lists of event categories.
- Parameters:
eventCategoriesList
- A lists of event categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Boolean value that indicates if the event subscription is enabled.
- Parameters:
enabled
- Boolean value that indicates if the event subscription is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-