public static interface TopicConfiguration.Builder extends SdkPojo, CopyableBuilder<TopicConfiguration.Builder,TopicConfiguration>
Modifier and Type | Method and Description |
---|---|
TopicConfiguration.Builder |
events(Collection<Event> events)
|
TopicConfiguration.Builder |
events(Event... events)
|
TopicConfiguration.Builder |
eventsWithStrings(Collection<String> events)
|
TopicConfiguration.Builder |
eventsWithStrings(String... events)
|
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 will publish a message when it
detects events of the specified type.
|
copy
applyMutation, build
TopicConfiguration.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 will publish 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 will publish a message when
it detects events of the specified type.TopicConfiguration.Builder eventsWithStrings(Collection<String> events)
events
- TopicConfiguration.Builder eventsWithStrings(String... events)
events
- TopicConfiguration.Builder events(Collection<Event> events)
events
- TopicConfiguration.Builder events(Event... events)
events
- 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.Builder
filter(NotificationConfigurationFilter)
Copyright © 2019. All rights reserved.