Class CfnTapePool.Builder
java.lang.Object
software.amazon.awscdk.services.storagegateway.CfnTapePool.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTapePool>
- Enclosing class:
CfnTapePool
@Stability(Stable)
public static final class CfnTapePool.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTapePool>
A fluent builder for
CfnTapePool.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTapePool.BuilderThe name of the custom tape pool.retentionLockTimeInDays(Number retentionLockTimeInDays) Tape retention lock time in days (up to 36,500 days / 100 years).retentionLockType(String retentionLockType) Tape retention lock type.storageClass(String storageClass) The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).A list of up to 50 tags for the tape pool.
-
Method Details
-
create
@Stability(Stable) public static CfnTapePool.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTapePool.Builder.
-
poolName
The name of the custom tape pool.- Parameters:
poolName- The name of the custom tape pool. This parameter is required.- Returns:
this- See Also:
-
storageClass
The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).- Parameters:
storageClass- The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive). This parameter is required.- Returns:
this- See Also:
-
retentionLockTimeInDays
@Stability(Stable) public CfnTapePool.Builder retentionLockTimeInDays(Number retentionLockTimeInDays) Tape retention lock time in days (up to 36,500 days / 100 years).- Parameters:
retentionLockTimeInDays- Tape retention lock time in days (up to 36,500 days / 100 years). This parameter is required.- Returns:
this- See Also:
-
retentionLockType
Tape retention lock type.Governance mode allows authorized removal; compliance mode prevents all removal.
- Parameters:
retentionLockType- Tape retention lock type. This parameter is required.- Returns:
this- See Also:
-
tags
A list of up to 50 tags for the tape pool.- Parameters:
tags- A list of up to 50 tags for the tape pool. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTapePool>- Returns:
- a newly built instance of
CfnTapePool.
-