public static interface PutBucketNotificationRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketNotificationRequest.Builder,PutBucketNotificationRequest>
| Modifier and Type | Method and Description |
|---|---|
PutBucketNotificationRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
PutBucketNotificationRequest.Builder |
contentMD5(String contentMD5)
Sets the value of the ContentMD5 property for this object.
|
default PutBucketNotificationRequest.Builder |
notificationConfiguration(Consumer<NotificationConfigurationDeprecated.Builder> notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object.
|
PutBucketNotificationRequest.Builder |
notificationConfiguration(NotificationConfigurationDeprecated notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object.
|
PutBucketNotificationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutBucketNotificationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildPutBucketNotificationRequest.Builder bucket(String bucket)
bucket - The new value for the Bucket property for this object.PutBucketNotificationRequest.Builder contentMD5(String contentMD5)
contentMD5 - The new value for the ContentMD5 property for this object.PutBucketNotificationRequest.Builder notificationConfiguration(NotificationConfigurationDeprecated notificationConfiguration)
notificationConfiguration - The new value for the NotificationConfiguration property for this object.default PutBucketNotificationRequest.Builder notificationConfiguration(Consumer<NotificationConfigurationDeprecated.Builder> notificationConfiguration)
NotificationConfigurationDeprecated.Builder
avoiding the need to create one manually via NotificationConfigurationDeprecated.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
notificationConfiguration(NotificationConfigurationDeprecated).notificationConfiguration - a consumer that will call methods on NotificationConfigurationDeprecated.BuildernotificationConfiguration(NotificationConfigurationDeprecated)PutBucketNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PutBucketNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.