public static interface CreateEventSubscriptionRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<CreateEventSubscriptionRequest.Builder,CreateEventSubscriptionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEventSubscriptionRequest.Builder |
enabled(Boolean enabled)
A Boolean value; set to
true to activate the subscription, or set to false to
create the subscription but not activate it. |
CreateEventSubscriptionRequest.Builder |
eventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
CreateEventSubscriptionRequest.Builder |
eventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
CreateEventSubscriptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEventSubscriptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEventSubscriptionRequest.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
CreateEventSubscriptionRequest.Builder |
sourceIds(Collection<String> sourceIds)
A list of identifiers for which DMS provides notification events.
|
CreateEventSubscriptionRequest.Builder |
sourceIds(String... sourceIds)
A list of identifiers for which DMS provides notification events.
|
CreateEventSubscriptionRequest.Builder |
sourceType(String sourceType)
The type of DMS resource that generates the events.
|
CreateEventSubscriptionRequest.Builder |
subscriptionName(String subscriptionName)
The name of the DMS event notification subscription.
|
CreateEventSubscriptionRequest.Builder |
tags(Collection<Tag> tags)
One or more tags to be assigned to the event subscription.
|
CreateEventSubscriptionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
One or more tags to be assigned to the event subscription.
|
CreateEventSubscriptionRequest.Builder |
tags(Tag... tags)
One or more tags to be assigned to the event subscription.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEventSubscriptionRequest.Builder subscriptionName(String subscriptionName)
The name of the DMS event notification subscription. This name must be less than 255 characters.
subscriptionName - The name of the DMS event notification subscription. This name must be less than 255 characters.CreateEventSubscriptionRequest.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.CreateEventSubscriptionRequest.Builder sourceType(String sourceType)
The type of DMS resource that generates the events. For example, if you want to be notified of events
generated by a replication instance, you set this parameter to replication-instance. If this
value isn't specified, all events are returned.
Valid values: replication-instance | replication-task
sourceType - The type of DMS resource that generates the events. For example, if you want to be notified of events
generated by a replication instance, you set this parameter to replication-instance. If
this value isn't specified, all events are returned.
Valid values: replication-instance | replication-task
CreateEventSubscriptionRequest.Builder eventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.
eventCategories - A list of event categories for a source type that you want to subscribe to. For more information, see
Working with Events and
Notifications in the Database Migration Service User Guide.CreateEventSubscriptionRequest.Builder eventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.
eventCategories - A list of event categories for a source type that you want to subscribe to. For more information, see
Working with Events and
Notifications in the Database Migration Service User Guide.CreateEventSubscriptionRequest.Builder sourceIds(Collection<String> sourceIds)
A list of identifiers for which DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
sourceIds - A list of identifiers for which DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
CreateEventSubscriptionRequest.Builder sourceIds(String... sourceIds)
A list of identifiers for which DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
sourceIds - A list of identifiers for which DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
CreateEventSubscriptionRequest.Builder enabled(Boolean enabled)
A Boolean value; set to true to activate the subscription, or set to false to
create the subscription but not activate it.
enabled - A Boolean value; set to true to activate the subscription, or set to false
to create the subscription but not activate it.CreateEventSubscriptionRequest.Builder tags(Collection<Tag> tags)
One or more tags to be assigned to the event subscription.
tags - One or more tags to be assigned to the event subscription.CreateEventSubscriptionRequest.Builder tags(Tag... tags)
One or more tags to be assigned to the event subscription.
tags - One or more tags to be assigned to the event subscription.CreateEventSubscriptionRequest.Builder tags(Consumer<Tag.Builder>... tags)
One or more tags to be assigned to the event subscription.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateEventSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEventSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.