public static interface PutBucketNotificationConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketNotificationConfigurationRequest.Builder,PutBucketNotificationConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketNotificationConfigurationRequest.Builder |
bucket(String bucket)
|
default PutBucketNotificationConfigurationRequest.Builder |
notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
This is a convenience that creates an instance of the
NotificationConfiguration.Builder avoiding the
need to create one manually via NotificationConfiguration.builder() . |
PutBucketNotificationConfigurationRequest.Builder |
notificationConfiguration(NotificationConfiguration notificationConfiguration)
|
PutBucketNotificationConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketNotificationConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
copy
applyMutation, build
PutBucketNotificationConfigurationRequest.Builder bucket(String bucket)
bucket
- PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
notificationConfiguration
- 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)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.