@Mutable @NotThreadSafe public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildPutBucketNotificationConfigurationRequest.Builder bucket(String bucket)
The name of the bucket.
bucket - The name of the bucket.PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
notificationConfiguration - The new value for the NotificationConfiguration property for this object.default PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
NotificationConfiguration.Builder
avoiding the need to create one manually via NotificationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to notificationConfiguration(NotificationConfiguration).
notificationConfiguration - a consumer that will call methods on NotificationConfiguration.BuildernotificationConfiguration(NotificationConfiguration)PutBucketNotificationConfigurationRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
expectedBucketOwner - The account ID of the expected bucket owner. If the account ID that you provide does not match the
actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).PutBucketNotificationConfigurationRequest.Builder skipDestinationValidation(Boolean skipDestinationValidation)
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
skipDestinationValidation - Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2026. All rights reserved.