Interface DeleteTapeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteTapeRequest.Builder,,DeleteTapeRequest> SdkBuilder<DeleteTapeRequest.Builder,,DeleteTapeRequest> SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
DeleteTapeRequest
public static interface DeleteTapeRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DeleteTapeRequest.Builder,DeleteTapeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbypassGovernanceRetention(Boolean bypassGovernanceRetention) Set toTRUEto delete an archived tape that belongs to a custom pool with tape retention lock.gatewayARN(String gatewayARN) The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with.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.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
gatewayARN
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
- Parameters:
gatewayARN- The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeARN
The Amazon Resource Name (ARN) of the virtual tape to delete.
- Parameters:
tapeARN- The Amazon Resource Name (ARN) of the virtual tape to delete.- 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
DeleteTapeRequest.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
DeleteTapeRequest.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.
-