public static interface PutBucketInventoryConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketInventoryConfigurationRequest.Builder,PutBucketInventoryConfigurationRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketInventoryConfigurationRequest.Builder bucket(String bucket)
The name of the bucket where the inventory configuration will be stored.
bucket
- The name of the bucket where the inventory configuration will be stored.PutBucketInventoryConfigurationRequest.Builder id(String id)
The ID used to identify the inventory configuration.
id
- The ID used to identify the inventory configuration.PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(InventoryConfiguration inventoryConfiguration)
Specifies the inventory configuration.
inventoryConfiguration
- Specifies the inventory configuration.default PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration)
Specifies the inventory configuration.
This is a convenience that creates an instance of theInventoryConfiguration.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 expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will
fail with an HTTP 403 (Access Denied)
error.
expectedBucketOwner
- The account id of the expected bucket owner. If the bucket is owned by a different account, the
request will fail with an HTTP 403 (Access Denied)
error.PutBucketInventoryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketInventoryConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.