Interface PutStorageLensConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutStorageLensConfigurationRequest.Builder,PutStorageLensConfigurationRequest>,S3ControlRequest.Builder,SdkBuilder<PutStorageLensConfigurationRequest.Builder,PutStorageLensConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutStorageLensConfigurationRequest
public static interface PutStorageLensConfigurationRequest.Builder extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<PutStorageLensConfigurationRequest.Builder,PutStorageLensConfigurationRequest>
-
-
Method Summary
-
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 Detail
-
configId
PutStorageLensConfigurationRequest.Builder configId(String 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
PutStorageLensConfigurationRequest.Builder accountId(String 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.Builderavoiding the need to create one manually viaStorageLensConfiguration.builder().When the
Consumercompletes,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:
storageLensConfiguration(StorageLensConfiguration)
-
tags
PutStorageLensConfigurationRequest.Builder tags(Collection<StorageLensTag> 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
PutStorageLensConfigurationRequest.Builder tags(StorageLensTag... 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
PutStorageLensConfigurationRequest.Builder tags(Consumer<StorageLensTag.Builder>... tags)
The tag set of the S3 Storage Lens configuration.
This is a convenience method that creates an instance of theYou can set up to a maximum of 50 tags.
StorageLensTag.Builderavoiding the need to create one manually viaStorageLensTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
PutStorageLensConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutStorageLensConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-