Class CfnVolume.OriginSnapshotProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnVolume.OriginSnapshotProperty.Jsii$Proxy extends implements CfnVolume.OriginSnapshotProperty
An implementation for CfnVolume.OriginSnapshotProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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
    • equals

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

      public final int hashCode()
      hashCode in class Object