Interface PutStorageLensConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutStorageLensConfigurationRequest.Builder,,PutStorageLensConfigurationRequest> S3TablesRequest.Builder,SdkBuilder<PutStorageLensConfigurationRequest.Builder,,PutStorageLensConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutStorageLensConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(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.storageLensId(String storageLensId) The ID of the S3 Storage Lens configuration.A map of user-defined tags that you would like to apply to the S3 Storage Lens configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
storageLensId
The ID of the S3 Storage Lens configuration. It must match the
idinstorageLensConfiguration.- Parameters:
storageLensId- The ID of the S3 Storage Lens configuration. It must match theidinstorageLensConfiguration.- 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:
-
tags
A map of user-defined tags that you would like to apply to the S3 Storage Lens configuration. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs for, and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).
If you specify
tagsfor an existing configuration, they replace all of its tags. To remove all of its tags, specify an empty map. If you don't specifytags, the existing tags don't change. A configuration can have up to 50 tags.You must have the
s3tables:TagResourcepermission in addition to thes3tables:PutStorageLensConfigurationpermission to apply tags. To remove tags from an existing configuration, you must also have thes3tables:UntagResourcepermission.- Parameters:
tags- A map of user-defined tags that you would like to apply to the S3 Storage Lens configuration. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs for, and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).If you specify
tagsfor an existing configuration, they replace all of its tags. To remove all of its tags, specify an empty map. If you don't specifytags, the existing tags don't change. A configuration can have up to 50 tags.You must have the
s3tables:TagResourcepermission in addition to thes3tables:PutStorageLensConfigurationpermission to apply tags. To remove tags from an existing configuration, you must also have thes3tables:UntagResourcepermission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutStorageLensConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-