Interface AssignTapePoolRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>,SdkBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- AssignTapePoolRequest
public static interface AssignTapePoolRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<AssignTapePoolRequest.Builder,AssignTapePoolRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssignTapePoolRequest.BuilderbypassGovernanceRetention(Boolean bypassGovernanceRetention)Set permissions to bypass governance retention.AssignTapePoolRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssignTapePoolRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssignTapePoolRequest.BuilderpoolId(String poolId)The ID of the pool that you want to add your tape to for archiving.AssignTapePoolRequest.BuildertapeARN(String tapeARN)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 Detail
-
tapeARN
AssignTapePoolRequest.Builder tapeARN(String 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
AssignTapePoolRequest.Builder poolId(String 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
AssignTapePoolRequest.Builder bypassGovernanceRetention(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssignTapePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-