public static interface PutBucketInventoryConfigurationRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketInventoryConfigurationRequest.Builder,PutBucketInventoryConfigurationRequest>
build
overrideConfiguration
copy
applyMutation, build
PutBucketInventoryConfigurationRequest.Builder bucket(String bucket)
bucket
- The name of the bucket where the inventory configuration will be stored.PutBucketInventoryConfigurationRequest.Builder id(String id)
id
- The ID used to identify the inventory configuration.PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(InventoryConfiguration inventoryConfiguration)
inventoryConfiguration
- Specifies the inventory configuration.default PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration)
InventoryConfiguration.Builder
avoiding the need to create one manually via
InventoryConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to inventoryConfiguration(InventoryConfiguration)
.inventoryConfiguration
- a consumer that will call methods on InventoryConfiguration.Builder
inventoryConfiguration(InventoryConfiguration)
PutBucketInventoryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketInventoryConfigurationRequest.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.