Interface DeleteTapeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteTapeRequest.Builder,
,DeleteTapeRequest> SdkBuilder<DeleteTapeRequest.Builder,
,DeleteTapeRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
DeleteTapeRequest
@Mutable
@NotThreadSafe
public static interface DeleteTapeRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DeleteTapeRequest.Builder,DeleteTapeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbypassGovernanceRetention
(Boolean bypassGovernanceRetention) Set toTRUE
to 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
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, sdkFieldNameToField, sdkFields
Methods 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
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
DeleteTapeRequest.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
DeleteTapeRequest.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.
-