Class TapePoolState.Builder
- java.lang.Object
-
- com.pulumi.aws.storagegateway.inputs.TapePoolState.Builder
-
- Enclosing class:
- TapePoolState
public static final class TapePoolState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TapePoolState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapePoolState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)TapePoolState.Builderarn(java.lang.String arn)TapePoolStatebuild()TapePoolState.BuilderpoolName(com.pulumi.core.Output<java.lang.String> poolName)TapePoolState.BuilderpoolName(java.lang.String poolName)TapePoolState.Builderregion(com.pulumi.core.Output<java.lang.String> region)TapePoolState.Builderregion(java.lang.String region)TapePoolState.BuilderretentionLockTimeInDays(com.pulumi.core.Output<java.lang.Integer> retentionLockTimeInDays)TapePoolState.BuilderretentionLockTimeInDays(java.lang.Integer retentionLockTimeInDays)TapePoolState.BuilderretentionLockType(com.pulumi.core.Output<java.lang.String> retentionLockType)TapePoolState.BuilderretentionLockType(java.lang.String retentionLockType)TapePoolState.BuilderstorageClass(com.pulumi.core.Output<java.lang.String> storageClass)TapePoolState.BuilderstorageClass(java.lang.String storageClass)TapePoolState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)TapePoolState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)TapePoolState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)TapePoolState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TapePoolState defaults)
-
-
Method Detail
-
arn
public TapePoolState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- Volume ARN, e.g., `aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678`.- Returns:
- builder
-
arn
public TapePoolState.Builder arn(java.lang.String arn)
- Parameters:
arn- Volume ARN, e.g., `aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678`.- Returns:
- builder
-
poolName
public TapePoolState.Builder poolName(@Nullable com.pulumi.core.Output<java.lang.String> poolName)
- Parameters:
poolName- The name of the new custom tape pool.- Returns:
- builder
-
poolName
public TapePoolState.Builder poolName(java.lang.String poolName)
- Parameters:
poolName- The name of the new custom tape pool.- Returns:
- builder
-
region
public TapePoolState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public TapePoolState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
retentionLockTimeInDays
public TapePoolState.Builder retentionLockTimeInDays(@Nullable com.pulumi.core.Output<java.lang.Integer> retentionLockTimeInDays)
- Parameters:
retentionLockTimeInDays- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0.- Returns:
- builder
-
retentionLockTimeInDays
public TapePoolState.Builder retentionLockTimeInDays(java.lang.Integer retentionLockTimeInDays)
- Parameters:
retentionLockTimeInDays- Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0.- Returns:
- builder
-
retentionLockType
public TapePoolState.Builder retentionLockType(@Nullable com.pulumi.core.Output<java.lang.String> retentionLockType)
- Parameters:
retentionLockType- Tape retention lock can be configured in two modes. When configured in governance mode, AWS 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 AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`.- Returns:
- builder
-
retentionLockType
public TapePoolState.Builder retentionLockType(java.lang.String retentionLockType)
- Parameters:
retentionLockType- Tape retention lock can be configured in two modes. When configured in governance mode, AWS 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 AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`.- Returns:
- builder
-
storageClass
public TapePoolState.Builder storageClass(@Nullable com.pulumi.core.Output<java.lang.String> storageClass)
- 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 that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`.- Returns:
- builder
-
storageClass
public TapePoolState.Builder storageClass(java.lang.String storageClass)
- 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 that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`.- Returns:
- builder
-
tags
public TapePoolState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public TapePoolState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public TapePoolState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public TapePoolState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public TapePoolState build()
-
-