Interface PutStorageLensConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutStorageLensConfigurationRequest.Builder,
,PutStorageLensConfigurationRequest> S3ControlRequest.Builder
,SdkBuilder<PutStorageLensConfigurationRequest.Builder,
,PutStorageLensConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutStorageLensConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID of the requester.The ID of the S3 Storage Lens configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.storageLensConfiguration
(Consumer<StorageLensConfiguration.Builder> storageLensConfiguration) The S3 Storage Lens configuration.storageLensConfiguration
(StorageLensConfiguration storageLensConfiguration) The S3 Storage Lens configuration.tags
(Collection<StorageLensTag> tags) The tag set of the S3 Storage Lens configuration.tags
(Consumer<StorageLensTag.Builder>... tags) The tag set of the S3 Storage Lens configuration.tags
(StorageLensTag... tags) The tag set of the S3 Storage Lens configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
configId
The ID of the S3 Storage Lens configuration.
- Parameters:
configId
- The ID of the S3 Storage Lens configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The account ID of the requester.
- Parameters:
accountId
- The account ID of the requester.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensConfiguration
PutStorageLensConfigurationRequest.Builder storageLensConfiguration(StorageLensConfiguration storageLensConfiguration) The S3 Storage Lens configuration.
- Parameters:
storageLensConfiguration
- The S3 Storage Lens configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensConfiguration
default PutStorageLensConfigurationRequest.Builder storageLensConfiguration(Consumer<StorageLensConfiguration.Builder> storageLensConfiguration) The S3 Storage Lens configuration.
This is a convenience method that creates an instance of theStorageLensConfiguration.Builder
avoiding the need to create one manually viaStorageLensConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageLensConfiguration(StorageLensConfiguration)
.- Parameters:
storageLensConfiguration
- a consumer that will call methods onStorageLensConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
- Parameters:
tags
- The tag set of the S3 Storage Lens configuration.You can set up to a maximum of 50 tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
- Parameters:
tags
- The tag set of the S3 Storage Lens configuration.You can set up to a maximum of 50 tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
StorageLensTag.Builder
avoiding the need to create one manually viaStorageLensTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<StorageLensTag>)
.- Parameters:
tags
- a consumer that will call methods onStorageLensTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutStorageLensConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutStorageLensConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-