Class CreateOpenZFSOriginSnapshotConfiguration

    • Method Detail

      • snapshotARN

        public final String snapshotARN()
        Returns the value of the SnapshotARN property for this object.
        Returns:
        The value of the SnapshotARN property for this object.
      • copyStrategy

        public final OpenZFSCopyStrategy copyStrategy()

        Specifies 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.

          Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.

        The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

        If the service returns an enum value that is not available in the current SDK version, copyStrategy will return OpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from copyStrategyAsString().

        Returns:
        Specifies 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.

          Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.

        The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

        See Also:
        OpenZFSCopyStrategy
      • copyStrategyAsString

        public final String copyStrategyAsString()

        Specifies 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.

          Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.

        The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

        If the service returns an enum value that is not available in the current SDK version, copyStrategy will return OpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from copyStrategyAsString().

        Returns:
        Specifies 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.

          Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.

        The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

        See Also:
        OpenZFSCopyStrategy
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)