public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketNotificationConfigurationRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
default PutBucketNotificationConfigurationRequest.Builder |
notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object.
|
PutBucketNotificationConfigurationRequest.Builder |
notificationConfiguration(NotificationConfiguration notificationConfiguration)
Sets the value of the NotificationConfiguration property for this object.
|
PutBucketNotificationConfigurationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutBucketNotificationConfigurationRequest.Builder bucket(String bucket)
bucket
- The new value for the Bucket property for this object.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.Builder
notificationConfiguration(NotificationConfiguration)
PutBucketNotificationConfigurationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.