Interface UpdateStorageLensGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateStorageLensGroupRequest.Builder,
,UpdateStorageLensGroupRequest> S3ControlRequest.Builder
,SdkBuilder<UpdateStorageLensGroupRequest.Builder,
,UpdateStorageLensGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateStorageLensGroupRequest
public static interface UpdateStorageLensGroupRequest.Builder
extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateStorageLensGroupRequest.Builder,UpdateStorageLensGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the Storage Lens group owner.The name of the Storage Lens group that you want to update.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 JSON file that contains the Storage Lens group configuration.storageLensGroup
(StorageLensGroup storageLensGroup) The JSON file that contains the Storage Lens group 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
-
name
The name of the Storage Lens group that you want to update.
- Parameters:
name
- The name of the Storage Lens group that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID of the Storage Lens group owner.
- Parameters:
accountId
- The Amazon Web Services account ID of the Storage Lens group owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroup
The JSON file that contains the Storage Lens group configuration.
- Parameters:
storageLensGroup
- The JSON file that contains the Storage Lens group configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensGroup
default UpdateStorageLensGroupRequest.Builder storageLensGroup(Consumer<StorageLensGroup.Builder> storageLensGroup) The JSON file that contains 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:
-
overrideConfiguration
UpdateStorageLensGroupRequest.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
UpdateStorageLensGroupRequest.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.
-