Interface CreateStorageLensGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStorageLensGroupRequest.Builder,,CreateStorageLensGroupRequest> S3ControlRequest.Builder,SdkBuilder<CreateStorageLensGroupRequest.Builder,,CreateStorageLensGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStorageLensGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID that the Storage Lens group is created from and associated with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.storageLensGroup(Consumer<StorageLensGroup.Builder> storageLensGroup) The Storage Lens group configuration.storageLensGroup(StorageLensGroup storageLensGroup) The Storage Lens group configuration.tags(Collection<Tag> tags) The Amazon Web Services resource tags that you're adding to your Storage Lens group.tags(Consumer<Tag.Builder>... tags) The Amazon Web Services resource tags that you're adding to your Storage Lens group.The Amazon Web Services resource tags that you're adding to your Storage Lens group.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.s3control.model.S3ControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID that the Storage Lens group is created from and associated with.
- Parameters:
accountId- The Amazon Web Services account ID that the Storage Lens group is created from and associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroup
The Storage Lens group configuration.
- Parameters:
storageLensGroup- The Storage Lens group configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroup
default CreateStorageLensGroupRequest.Builder storageLensGroup(Consumer<StorageLensGroup.Builder> storageLensGroup) The Storage Lens group configuration.
This is a convenience method that creates an instance of theStorageLensGroup.Builderavoiding the need to create one manually viaStorageLensGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLensGroup(StorageLensGroup).- Parameters:
storageLensGroup- a consumer that will call methods onStorageLensGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
- Parameters:
tags- The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
- Parameters:
tags- The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStorageLensGroupRequest.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
CreateStorageLensGroupRequest.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.
-