Interface AwsS3BucketNotificationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3BucketNotificationConfiguration.Builder,
,AwsS3BucketNotificationConfiguration> SdkBuilder<AwsS3BucketNotificationConfiguration.Builder,
,AwsS3BucketNotificationConfiguration> SdkPojo
- Enclosing class:
AwsS3BucketNotificationConfiguration
@Mutable
@NotThreadSafe
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
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 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.Builder
avoiding the need to create one manually viaAwsS3BucketNotificationConfigurationDetail.builder()
.When the
Consumer
completes,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:
-