Interface OpenZFSOriginSnapshotConfiguration.Builder

    • Method Detail

      • snapshotARN

        OpenZFSOriginSnapshotConfiguration.Builder snapshotARN​(String snapshotARN)
        Sets the value of the SnapshotARN property for this object.
        Parameters:
        snapshotARN - The new value for the SnapshotARN property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • copyStrategy

        OpenZFSOriginSnapshotConfiguration.Builder copyStrategy​(String copyStrategy)

        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 the data from a 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.

        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.

        Parameters:
        copyStrategy - 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 the data from a 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.

        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OpenZFSCopyStrategy, OpenZFSCopyStrategy
      • copyStrategy

        OpenZFSOriginSnapshotConfiguration.Builder copyStrategy​(OpenZFSCopyStrategy copyStrategy)

        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 the data from a 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.

        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.

        Parameters:
        copyStrategy - 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 the data from a 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.

        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OpenZFSCopyStrategy, OpenZFSCopyStrategy