Interface TieringPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TieringPolicy.Builder,TieringPolicy>,SdkBuilder<TieringPolicy.Builder,TieringPolicy>,SdkPojo
- Enclosing class:
- TieringPolicy
public static interface TieringPolicy.Builder extends SdkPojo, CopyableBuilder<TieringPolicy.Builder,TieringPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TieringPolicy.BuildercoolingPeriod(Integer 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.TieringPolicy.Buildername(String name)Specifies the tiering policy used to transition data.TieringPolicy.Buildername(TieringPolicyName name)Specifies the tiering policy used to transition data.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
coolingPeriod
TieringPolicy.Builder coolingPeriod(Integer 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
AUTOandSNAPSHOT_ONLYtiering policies. Enter a whole number between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.- Parameters:
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 theAUTOandSNAPSHOT_ONLYtiering policies. Enter a whole number between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
TieringPolicy.Builder name(String 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.
- Parameters:
name- Specifies the tiering policy used to transition data. Default value isSNAPSHOT_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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TieringPolicyName,TieringPolicyName
-
-
name
TieringPolicy.Builder name(TieringPolicyName 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.
- Parameters:
name- Specifies the tiering policy used to transition data. Default value isSNAPSHOT_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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TieringPolicyName,TieringPolicyName
-
-
-