Interface PoolInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PoolInfo.Builder,PoolInfo>,SdkBuilder<PoolInfo.Builder,PoolInfo>,SdkPojo
- Enclosing class:
- PoolInfo
public static interface PoolInfo.Builder extends SdkPojo, CopyableBuilder<PoolInfo.Builder,PoolInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PoolInfo.BuilderpoolARN(String poolARN)The Amazon Resource Name (ARN) of the custom tape pool.PoolInfo.BuilderpoolName(String poolName)The name of the custom tape pool.PoolInfo.BuilderpoolStatus(String poolStatus)Status of the custom tape pool.PoolInfo.BuilderpoolStatus(PoolStatus poolStatus)Status of the custom tape pool.PoolInfo.BuilderretentionLockTimeInDays(Integer retentionLockTimeInDays)Tape retention lock time is set in days.PoolInfo.BuilderretentionLockType(String retentionLockType)Tape retention lock type, which can be configured in two modes.PoolInfo.BuilderretentionLockType(RetentionLockType retentionLockType)Tape retention lock type, which can be configured in two modes.PoolInfo.BuilderstorageClass(String storageClass)The storage class that is associated with the custom pool.PoolInfo.BuilderstorageClass(TapeStorageClass storageClass)The storage class that is associated with the custom pool.-
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
-
-
-
-
Method Detail
-
poolARN
PoolInfo.Builder poolARN(String poolARN)
The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your account and Amazon Web Services Region.
- Parameters:
poolARN- The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your account and Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolName
PoolInfo.Builder poolName(String poolName)
The name of the custom tape pool.
PoolNamecan use all ASCII characters, except '/' and '\'.- Parameters:
poolName- The name of the custom tape pool.PoolNamecan use all ASCII characters, except '/' and '\'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageClass
PoolInfo.Builder storageClass(String storageClass)
The storage class that is associated with the custom 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:
storageClass- The storage class that is associated with the custom 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.
- See Also:
TapeStorageClass,TapeStorageClass
-
storageClass
PoolInfo.Builder storageClass(TapeStorageClass storageClass)
The storage class that is associated with the custom 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:
storageClass- The storage class that is associated with the custom 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.
- See Also:
TapeStorageClass,TapeStorageClass
-
retentionLockType
PoolInfo.Builder retentionLockType(String retentionLockType)
Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
- Parameters:
retentionLockType- Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionLockType,RetentionLockType
-
retentionLockType
PoolInfo.Builder retentionLockType(RetentionLockType retentionLockType)
Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.
- Parameters:
retentionLockType- Tape retention lock type, which can be configured in two modes. When configured in governance mode, Amazon Web Services accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionLockType,RetentionLockType
-
retentionLockTimeInDays
PoolInfo.Builder retentionLockTimeInDays(Integer retentionLockTimeInDays)
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).
- Parameters:
retentionLockTimeInDays- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolStatus
PoolInfo.Builder poolStatus(String poolStatus)
Status of the custom tape pool. Pool can be
ACTIVEorDELETED.- Parameters:
poolStatus- Status of the custom tape pool. Pool can beACTIVEorDELETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PoolStatus,PoolStatus
-
poolStatus
PoolInfo.Builder poolStatus(PoolStatus poolStatus)
Status of the custom tape pool. Pool can be
ACTIVEorDELETED.- Parameters:
poolStatus- Status of the custom tape pool. Pool can beACTIVEorDELETED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PoolStatus,PoolStatus
-
-