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
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
-
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.Builder
avoiding the need to create one manually viaStorageLensGroup.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.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
CreateStorageLensGroupRequest.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.
-