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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTapePoolRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTapePoolRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTapePoolRequest.BuilderpoolName(String poolName)The name of the new custom tape pool.CreateTapePoolRequest.BuilderretentionLockTimeInDays(Integer retentionLockTimeInDays)Tape retention lock time is set in days.CreateTapePoolRequest.BuilderretentionLockType(String retentionLockType)Tape retention lock can be configured in two modes.CreateTapePoolRequest.BuilderretentionLockType(RetentionLockType retentionLockType)Tape retention lock can be configured in two modes.CreateTapePoolRequest.BuilderstorageClass(String storageClass)The storage class that is associated with the new custom pool.CreateTapePoolRequest.BuilderstorageClass(TapeStorageClass storageClass)The storage class that is associated with the new custom pool.CreateTapePoolRequest.Buildertags(Collection<Tag> tags)A list of up to 50 tags that can be assigned to tape pool.CreateTapePoolRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of up to 50 tags that can be assigned to tape pool.CreateTapePoolRequest.Buildertags(Tag... tags)A list of up to 50 tags that can be assigned to 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
-
poolName
CreateTapePoolRequest.Builder poolName(String 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:
TapeStorageClass,TapeStorageClass
-
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:
TapeStorageClass,TapeStorageClass
-
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,RetentionLockType
-
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:
RetentionLockType,RetentionLockType
-
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
CreateTapePoolRequest.Builder tags(Collection<Tag> 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
CreateTapePoolRequest.Builder tags(Tag... 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
CreateTapePoolRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
This is a convenience method that creates an instance of theValid 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.
Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateTapePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTapePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-