public static interface TopicConfiguration.Builder extends CopyableBuilder<TopicConfiguration.Builder,TopicConfiguration>
| Modifier and Type | Method and Description |
|---|---|
TopicConfiguration.Builder |
events(Collection<String> events)
Sets the value of the Events property for this object.
|
TopicConfiguration.Builder |
events(String... events)
Sets the value of the Events property for this object.
|
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)
Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type.
|
copyapply, buildTopicConfiguration.Builder id(String id)
id - The new value for the Id property for this object.TopicConfiguration.Builder topicArn(String topicArn)
topicArn - Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified
type.TopicConfiguration.Builder events(Collection<String> events)
events - The new value for the Events property for this object.TopicConfiguration.Builder events(String... events)
events - The new value for the Events property for this object.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.