Interface DeleteTapeArchiveRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteTapeArchiveRequest.Builder,
,DeleteTapeArchiveRequest> SdkBuilder<DeleteTapeArchiveRequest.Builder,
,DeleteTapeArchiveRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
DeleteTapeArchiveRequest
public static interface DeleteTapeArchiveRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DeleteTapeArchiveRequest.Builder,DeleteTapeArchiveRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbypassGovernanceRetention
(Boolean bypassGovernanceRetention) Set toTRUE
to delete an archived tape that belongs to a custom pool with tape retention lock.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
tapeARN
The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bypassGovernanceRetention
Set to
TRUE
to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernance
can be deleted. Archived tapes with tape retention lock set tocompliance
can't be deleted.- Parameters:
bypassGovernanceRetention
- Set toTRUE
to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernance
can be deleted. Archived tapes with tape retention lock set tocompliance
can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteTapeArchiveRequest.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
DeleteTapeArchiveRequest.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.
-