public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, 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 bucket is owned by a different account, the request fails
with the HTTP status code 403 Forbidden (access denied).
expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, 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)
overrideConfiguration in interface AwsRequest.BuilderPutBucketNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.