Class CfnVolume.TieringPolicyProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.fsx.CfnVolume.TieringPolicyProperty.Jsii$Proxy
All Implemented Interfaces:
CfnVolume.TieringPolicyProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnVolume.TieringPolicyProperty

@Stability(Stable) @Internal public static final class CfnVolume.TieringPolicyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVolume.TieringPolicyProperty
An implementation for CfnVolume.TieringPolicyProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnVolume.TieringPolicyProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnVolume.TieringPolicyProperty.Builder.
  • Method Details

    • getCoolingPeriod

      public final Number getCoolingPeriod()
      Description copied from interface: CfnVolume.TieringPolicyProperty
      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 .

      Specified by:
      getCoolingPeriod in interface CfnVolume.TieringPolicyProperty
    • getName

      public final String getName()
      Description copied from interface: CfnVolume.TieringPolicyProperty
      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.
      Specified by:
      getName in interface CfnVolume.TieringPolicyProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object