Interface AssignTapePoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssignTapePoolRequest.Builder,
,AssignTapePoolRequest> SdkBuilder<AssignTapePoolRequest.Builder,
,AssignTapePoolRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
AssignTapePoolRequest
-
Method Summary
Modifier and TypeMethodDescriptionbypassGovernanceRetention
(Boolean bypassGovernanceRetention) Set permissions to bypass governance retention.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the pool that you want to add your tape to for archiving.The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.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 unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
- Parameters:
tapeARN
- The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
- Parameters:
poolId
- The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bypassGovernanceRetention
Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance
, the tape's archived age is not older thanRetentionLockInDays
, and the user does not already haveBypassGovernanceRetention
, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.Valid values:
TRUE
|FALSE
- Parameters:
bypassGovernanceRetention
- Set permissions to bypass governance retention. If the lock type of the archived tape isGovernance
, the tape's archived age is not older thanRetentionLockInDays
, and the user does not already haveBypassGovernanceRetention
, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.Valid values:
TRUE
|FALSE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssignTapePoolRequest.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
AssignTapePoolRequest.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.
-