Package com.pulumi.aws.storagegateway
Class TapePoolArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.storagegateway.TapePoolArgs.Builder
-
- Enclosing class:
- TapePoolArgs
public static final class TapePoolArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TapePoolArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapePoolArgsbuild()TapePoolArgs.BuilderpoolName(com.pulumi.core.Output<java.lang.String> poolName)TapePoolArgs.BuilderpoolName(java.lang.String poolName)TapePoolArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)TapePoolArgs.Builderregion(java.lang.String region)TapePoolArgs.BuilderretentionLockTimeInDays(com.pulumi.core.Output<java.lang.Integer> retentionLockTimeInDays)TapePoolArgs.BuilderretentionLockTimeInDays(java.lang.Integer retentionLockTimeInDays)TapePoolArgs.BuilderretentionLockType(com.pulumi.core.Output<java.lang.String> retentionLockType)TapePoolArgs.BuilderretentionLockType(java.lang.String retentionLockType)TapePoolArgs.BuilderstorageClass(com.pulumi.core.Output<java.lang.String> storageClass)TapePoolArgs.BuilderstorageClass(java.lang.String storageClass)TapePoolArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)TapePoolArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TapePoolArgs defaults)
-
-
Method Detail
-
poolName
public TapePoolArgs.Builder poolName(com.pulumi.core.Output<java.lang.String> poolName)
- Parameters:
poolName- The name of the new custom tape pool.- Returns:
- builder
-
poolName
public TapePoolArgs.Builder poolName(java.lang.String poolName)
- Parameters:
poolName- The name of the new custom tape pool.- Returns:
- builder
-
region
public TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.Builder storageClass(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 TapePoolArgs.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 TapePoolArgs.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 TapePoolArgs.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
-
build
public TapePoolArgs build()
-
-