Interface AwsS3BucketNotificationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketNotificationConfiguration.Builder,,AwsS3BucketNotificationConfiguration> SdkBuilder<AwsS3BucketNotificationConfiguration.Builder,,AwsS3BucketNotificationConfiguration> SdkPojo
- Enclosing class:
AwsS3BucketNotificationConfiguration
public static interface AwsS3BucketNotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<AwsS3BucketNotificationConfiguration.Builder,AwsS3BucketNotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations) Configurations for S3 bucket notifications.configurations(Consumer<AwsS3BucketNotificationConfigurationDetail.Builder>... configurations) Configurations for S3 bucket notifications.configurations(AwsS3BucketNotificationConfigurationDetail... configurations) Configurations for S3 bucket notifications.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
-
configurations
AwsS3BucketNotificationConfiguration.Builder configurations(Collection<AwsS3BucketNotificationConfigurationDetail> configurations) Configurations for S3 bucket notifications.
- Parameters:
configurations- Configurations for S3 bucket notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
AwsS3BucketNotificationConfiguration.Builder configurations(AwsS3BucketNotificationConfigurationDetail... configurations) Configurations for S3 bucket notifications.
- Parameters:
configurations- Configurations for S3 bucket notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
AwsS3BucketNotificationConfiguration.Builder configurations(Consumer<AwsS3BucketNotificationConfigurationDetail.Builder>... configurations) Configurations for S3 bucket notifications.
This is a convenience method that creates an instance of theAwsS3BucketNotificationConfigurationDetail.Builderavoiding the need to create one manually viaAwsS3BucketNotificationConfigurationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurations(List<AwsS3BucketNotificationConfigurationDetail>).- Parameters:
configurations- a consumer that will call methods onAwsS3BucketNotificationConfigurationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-