@Generated(value="software.amazon.awssdk:codegen") public final class TieringPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TieringPolicy.Builder,TieringPolicy>
Describes the data tiering policy for an ONTAP volume. When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns.
Valid tiering policies are the following:
SNAPSHOT_ONLY - (Default value) 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TieringPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TieringPolicy.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TieringPolicyName |
name()
Specifies the tiering policy used to transition data.
|
String |
nameAsString()
Specifies the tiering policy used to transition data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TieringPolicy.Builder> |
serializableBuilderClass() |
TieringPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 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.
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.public final 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.
If the service returns an enum value that is not available in the current SDK version, name will return
TieringPolicyName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
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.
TieringPolicyNamepublic final String nameAsString()
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.
If the service returns an enum value that is not available in the current SDK version, name will return
TieringPolicyName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
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.
TieringPolicyNamepublic TieringPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TieringPolicy.Builder,TieringPolicy>public static TieringPolicy.Builder builder()
public static Class<? extends TieringPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.