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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutBucketNotificationRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutBucketNotificationRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.