@Stability(value=Stable) public static final class CfnVolume.TieringPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVolume.TieringPolicyProperty>
CfnVolume.TieringPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVolume.TieringPolicyProperty |
build()
Builds the configured instance.
|
CfnVolume.TieringPolicyProperty.Builder |
coolingPeriod(Number coolingPeriod)
Sets the value of
CfnVolume.TieringPolicyProperty.getCoolingPeriod() |
CfnVolume.TieringPolicyProperty.Builder |
name(String name)
Sets the value of
CfnVolume.TieringPolicyProperty.getName() |
@Stability(value=Stable) public CfnVolume.TieringPolicyProperty.Builder coolingPeriod(Number coolingPeriod)
CfnVolume.TieringPolicyProperty.getCoolingPeriod()coolingPeriod - Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool.
Used with the AUTO and SNAPSHOT_ONLY tiering policies. Enter a whole number between 2 and 183. Default values are 31 days for AUTO and 2 days for SNAPSHOT_ONLY .this@Stability(value=Stable) public CfnVolume.TieringPolicyProperty.Builder name(String name)
CfnVolume.TieringPolicyProperty.getName()name - Specifies the tiering policy used to transition data. Default value is `SNAPSHOT_ONLY` .
SNAPSHOT_ONLY - moves cold snapshots to the capacity pool storage tier.AUTO - moves cold user data and snapshots to the capacity pool storage tier based on your access patterns.ALL - moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier.NONE - keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.this@Stability(value=Stable) public CfnVolume.TieringPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnVolume.TieringPolicyProperty>CfnVolume.TieringPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.