Class CfnTapePoolPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.storagegateway.CfnTapePoolPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTapePoolPropsMixin>
- Enclosing class:
CfnTapePoolPropsMixin
@Stability(Stable)
public static final class CfnTapePoolPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTapePoolPropsMixin>
A fluent builder for
CfnTapePoolPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The 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 CfnTapePoolPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTapePoolPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTapePoolPropsMixin.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:
-
retentionLockTimeInDays
@Stability(Stable) public CfnTapePoolPropsMixin.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:
-
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:
-
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<CfnTapePoolPropsMixin>- Returns:
- a newly built instance of
CfnTapePoolPropsMixin.
-