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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutBucketNotificationRequest.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.Builder
notificationConfiguration(NotificationConfigurationDeprecated)
PutBucketNotificationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.