Interface AwsS3BucketNotificationConfigurationDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketNotificationConfigurationDetail.Builder,,AwsS3BucketNotificationConfigurationDetail> SdkBuilder<AwsS3BucketNotificationConfigurationDetail.Builder,,AwsS3BucketNotificationConfigurationDetail> SdkPojo
- Enclosing class:
AwsS3BucketNotificationConfigurationDetail
-
Method Summary
Modifier and TypeMethodDescriptiondestination(String destination) The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.The list of events that trigger a notification.events(Collection<String> events) The list of events that trigger a notification.The filters that determine which S3 buckets generate notifications.The filters that determine which S3 buckets generate notifications.Indicates the type of notification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
events
The list of events that trigger a notification.
- Parameters:
events- The list of events that trigger a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The list of events that trigger a notification.
- Parameters:
events- The list of events that trigger a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
AwsS3BucketNotificationConfigurationDetail.Builder filter(AwsS3BucketNotificationConfigurationFilter filter) The filters that determine which S3 buckets generate notifications.
- Parameters:
filter- The filters that determine which S3 buckets generate notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default AwsS3BucketNotificationConfigurationDetail.Builder filter(Consumer<AwsS3BucketNotificationConfigurationFilter.Builder> filter) The filters that determine which S3 buckets generate notifications.
This is a convenience method that creates an instance of theAwsS3BucketNotificationConfigurationFilter.Builderavoiding the need to create one manually viaAwsS3BucketNotificationConfigurationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(AwsS3BucketNotificationConfigurationFilter).- Parameters:
filter- a consumer that will call methods onAwsS3BucketNotificationConfigurationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
- Parameters:
destination- The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:
-
LambdaConfiguration -
QueueConfiguration -
TopicConfiguration
- Parameters:
type- Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:-
LambdaConfiguration -
QueueConfiguration -
TopicConfiguration
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-