Interface CreateTapePoolRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateTapePoolRequest.Builder,CreateTapePoolRequest>, SdkBuilder<CreateTapePoolRequest.Builder,CreateTapePoolRequest>, SdkPojo, SdkRequest.Builder, StorageGatewayRequest.Builder
Enclosing class:
CreateTapePoolRequest

public static interface CreateTapePoolRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateTapePoolRequest.Builder,CreateTapePoolRequest>
  • Method Details

    • poolName

      The name of the new custom tape pool.

      Parameters:
      poolName - The name of the new custom tape pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClass

      CreateTapePoolRequest.Builder storageClass(String storageClass)

      The storage class that is associated with the new 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 new 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

      CreateTapePoolRequest.Builder storageClass(TapeStorageClass storageClass)

      The storage class that is associated with the new 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 new 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

      CreateTapePoolRequest.Builder retentionLockType(String retentionLockType)

      Tape retention lock 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 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

      CreateTapePoolRequest.Builder retentionLockType(RetentionLockType retentionLockType)

      Tape retention lock 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 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

      CreateTapePoolRequest.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.
    • tags

      A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

      Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

      Parameters:
      tags - A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

      Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

      Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

      Parameters:
      tags - A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

      Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.

      Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateTapePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.