public static interface TopicConfiguration.Builder extends SdkPojo, CopyableBuilder<TopicConfiguration.Builder,TopicConfiguration>
| Modifier and Type | Method and Description |
|---|---|
TopicConfiguration.Builder |
events(Collection<Event> events)
The Amazon S3 bucket event about which to send notifications.
|
TopicConfiguration.Builder |
events(Event... events)
The Amazon S3 bucket event about which to send notifications.
|
TopicConfiguration.Builder |
eventsWithStrings(Collection<String> events)
The Amazon S3 bucket event about which to send notifications.
|
TopicConfiguration.Builder |
eventsWithStrings(String... events)
The Amazon S3 bucket event about which to send notifications.
|
default TopicConfiguration.Builder |
filter(Consumer<NotificationConfigurationFilter.Builder> filter)
Sets the value of the Filter property for this object.
|
TopicConfiguration.Builder |
filter(NotificationConfigurationFilter filter)
Sets the value of the Filter property for this object.
|
TopicConfiguration.Builder |
id(String id)
Sets the value of the Id property for this object.
|
TopicConfiguration.Builder |
topicArn(String topicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects
events of the specified type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTopicConfiguration.Builder id(String id)
id - The new value for the Id property for this object.TopicConfiguration.Builder topicArn(String topicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it
detects events of the specified type.TopicConfiguration.Builder eventsWithStrings(Collection<String> events)
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
events - The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event
Types in the Amazon S3 User Guide.TopicConfiguration.Builder eventsWithStrings(String... events)
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
events - The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event
Types in the Amazon S3 User Guide.TopicConfiguration.Builder events(Collection<Event> events)
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
events - The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event
Types in the Amazon S3 User Guide.TopicConfiguration.Builder events(Event... events)
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
events - The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event
Types in the Amazon S3 User Guide.TopicConfiguration.Builder filter(NotificationConfigurationFilter filter)
filter - The new value for the Filter property for this object.default TopicConfiguration.Builder filter(Consumer<NotificationConfigurationFilter.Builder> filter)
NotificationConfigurationFilter.Builder
avoiding the need to create one manually via NotificationConfigurationFilter.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to filter(NotificationConfigurationFilter).filter - a consumer that will call methods on NotificationConfigurationFilter.Builderfilter(NotificationConfigurationFilter)Copyright © 2021. All rights reserved.