Class CfnVolume.OriginSnapshotProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnVolume.OriginSnapshotProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVolume.OriginSnapshotProperty
An implementation for CfnVolume.OriginSnapshotProperty
  • 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.OriginSnapshotProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnVolume.OriginSnapshotProperty.Builder.
  • Method Details

    • getCopyStrategy

      public final String getCopyStrategy()
      Description copied from interface: CfnVolume.OriginSnapshotProperty
      The strategy used when copying data from the snapshot to the new volume.

      • CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.
      • FULL_COPY - Copies all data from the snapshot to the new volume.
      Specified by:
      getCopyStrategy in interface CfnVolume.OriginSnapshotProperty
    • getSnapshotArn

      public final String getSnapshotArn()
      Description copied from interface: CfnVolume.OriginSnapshotProperty
      Specifies the snapshot to use when creating an OpenZFS volume from a snapshot.
      Specified by:
      getSnapshotArn in interface CfnVolume.OriginSnapshotProperty
    • $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