Interface PutBucketNotificationConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
,S3Request.Builder
,SdkBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutBucketNotificationConfigurationRequest
public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
bucket
PutBucketNotificationConfigurationRequest.Builder bucket(String bucket)
The name of the bucket.
- Parameters:
bucket
- The name of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object.- Parameters:
notificationConfiguration
- The new value for the NotificationConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object. This is a convenience method that creates an instance of theNotificationConfiguration.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration)
.- Parameters:
notificationConfiguration
- a consumer that will call methods onNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notificationConfiguration(NotificationConfiguration)
-
expectedBucketOwner
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).- Parameters:
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 code403 Forbidden
(access denied).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipDestinationValidation
PutBucketNotificationConfigurationRequest.Builder skipDestinationValidation(Boolean skipDestinationValidation)
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
- Parameters:
skipDestinationValidation
- Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-