Interface AwsS3BucketNotificationConfigurationDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketNotificationConfigurationDetail.Builder,AwsS3BucketNotificationConfigurationDetail>,SdkBuilder<AwsS3BucketNotificationConfigurationDetail.Builder,AwsS3BucketNotificationConfigurationDetail>,SdkPojo
- Enclosing class:
- AwsS3BucketNotificationConfigurationDetail
public static interface AwsS3BucketNotificationConfigurationDetail.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketNotificationConfigurationDetail.Builder,AwsS3BucketNotificationConfigurationDetail>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
events
AwsS3BucketNotificationConfigurationDetail.Builder events(Collection<String> 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
AwsS3BucketNotificationConfigurationDetail.Builder events(String... 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:
filter(AwsS3BucketNotificationConfigurationFilter)
-
destination
AwsS3BucketNotificationConfigurationDetail.Builder destination(String 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
AwsS3BucketNotificationConfigurationDetail.Builder type(String 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.
-
-
-