public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.