Class CfnTapePoolMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.storagegateway.CfnTapePoolMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTapePoolMixinProps>
- Enclosing interface:
CfnTapePoolMixinProps
@Stability(Stable)
public static final class CfnTapePoolMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTapePoolMixinProps>
A builder for
CfnTapePoolMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTapePoolMixinProps.getPoolName()retentionLockTimeInDays(Number retentionLockTimeInDays) Sets the value ofCfnTapePoolMixinProps.getRetentionLockTimeInDays()retentionLockType(String retentionLockType) Sets the value ofCfnTapePoolMixinProps.getRetentionLockType()storageClass(String storageClass) Sets the value ofCfnTapePoolMixinProps.getStorageClass()Sets the value ofCfnTapePoolMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
poolName
Sets the value ofCfnTapePoolMixinProps.getPoolName()- Parameters:
poolName- The name of the custom tape pool.- Returns:
this
-
retentionLockTimeInDays
@Stability(Stable) public CfnTapePoolMixinProps.Builder retentionLockTimeInDays(Number retentionLockTimeInDays) Sets the value ofCfnTapePoolMixinProps.getRetentionLockTimeInDays()- Parameters:
retentionLockTimeInDays- Tape retention lock time in days (up to 36,500 days / 100 years).- Returns:
this
-
retentionLockType
Sets the value ofCfnTapePoolMixinProps.getRetentionLockType()- Parameters:
retentionLockType- Tape retention lock type. Governance mode allows authorized removal; compliance mode prevents all removal.- Returns:
this
-
storageClass
Sets the value ofCfnTapePoolMixinProps.getStorageClass()- Parameters:
storageClass- The storage class associated with the custom pool (S3 Glacier or S3 Glacier Deep Archive).- Returns:
this
-
tags
Sets the value ofCfnTapePoolMixinProps.getTags()- Parameters:
tags- A list of up to 50 tags for the tape pool.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTapePoolMixinProps>- Returns:
- a new instance of
CfnTapePoolMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-