Interface DeleteTapeArchiveRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteTapeArchiveRequest.Builder,,DeleteTapeArchiveRequest> SdkBuilder<DeleteTapeArchiveRequest.Builder,,DeleteTapeArchiveRequest> SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
DeleteTapeArchiveRequest
@Mutable
@NotThreadSafe
public static interface DeleteTapeArchiveRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DeleteTapeArchiveRequest.Builder,DeleteTapeArchiveRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbypassGovernanceRetention(Boolean bypassGovernanceRetention) Set toTRUEto 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
TRUEto delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernancecan be deleted. Archived tapes with tape retention lock set tocompliancecan't be deleted.- Parameters:
bypassGovernanceRetention- Set toTRUEto delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set togovernancecan be deleted. Archived tapes with tape retention lock set tocompliancecan'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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-