public static interface PutBucketInventoryConfigurationRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketInventoryConfigurationRequest.Builder,PutBucketInventoryConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketInventoryConfigurationRequest.Builder |
bucket(String 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.
|
default PutBucketInventoryConfigurationRequest.Builder |
inventoryConfiguration(Consumer<InventoryConfiguration.Builder> inventoryConfiguration)
Specifies the inventory configuration.
|
PutBucketInventoryConfigurationRequest.Builder |
inventoryConfiguration(InventoryConfiguration inventoryConfiguration)
Specifies the inventory configuration.
|
PutBucketInventoryConfigurationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.