CopyableBuilder<ModifyEventSubscriptionRequest.Builder,ModifyEventSubscriptionRequest>
, SdkBuilder<ModifyEventSubscriptionRequest.Builder,ModifyEventSubscriptionRequest>
public static interface ModifyEventSubscriptionRequest.Builder extends CopyableBuilder<ModifyEventSubscriptionRequest.Builder,ModifyEventSubscriptionRequest>
Modifier and Type | Method | Description |
---|---|---|
ModifyEventSubscriptionRequest.Builder |
enabled(Boolean enabled) |
A Boolean value; set to true to activate the subscription.
|
ModifyEventSubscriptionRequest.Builder |
eventCategories(String... eventCategories) |
A list of event categories for a source type that you want to subscribe to.
|
ModifyEventSubscriptionRequest.Builder |
eventCategories(Collection<String> eventCategories) |
A list of event categories for a source type that you want to subscribe to.
|
ModifyEventSubscriptionRequest.Builder |
snsTopicArn(String snsTopicArn) |
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
ModifyEventSubscriptionRequest.Builder |
sourceType(String sourceType) |
The type of AWS DMS resource that generates the events you want to subscribe to.
|
ModifyEventSubscriptionRequest.Builder |
subscriptionName(String subscriptionName) |
The name of the AWS DMS event notification subscription to be modified.
|
copy
apply, build
ModifyEventSubscriptionRequest.Builder subscriptionName(String subscriptionName)
The name of the AWS DMS event notification subscription to be modified.
subscriptionName
- The name of the AWS DMS event notification subscription to be modified.ModifyEventSubscriptionRequest.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is
created by Amazon SNS when you create a topic and subscribe to it.ModifyEventSubscriptionRequest.Builder sourceType(String sourceType)
The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | migration-task
ModifyEventSubscriptionRequest.Builder eventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
eventCategories
- A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.ModifyEventSubscriptionRequest.Builder eventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.
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 source type that you want to subscribe to. Use the
DescribeEventCategories
action to see a list of event categories.ModifyEventSubscriptionRequest.Builder enabled(Boolean enabled)
A Boolean value; set to true to activate the subscription.
enabled
- A Boolean value; set to true to activate the subscription.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.