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 Details

    • 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. PoolName can use all ASCII characters, except '/' and '\'.

      Parameters:
      poolName - The name of the custom tape pool. PoolName can 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:
    • 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:
    • 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

      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:
    • 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 ACTIVE or DELETED.

      Parameters:
      poolStatus - Status of the custom tape pool. Pool can be ACTIVE or DELETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • poolStatus

      PoolInfo.Builder poolStatus(PoolStatus poolStatus)

      Status of the custom tape pool. Pool can be ACTIVE or DELETED.

      Parameters:
      poolStatus - Status of the custom tape pool. Pool can be ACTIVE or DELETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: