Interface CopySnapshotAndUpdateVolumeRequest.Builder

    • Method Detail

      • clientRequestToken

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

        CopySnapshotAndUpdateVolumeRequest.Builder volumeId​(String volumeId)

        Specifies the ID of the volume that you are copying the snapshot to.

        Parameters:
        volumeId - Specifies the ID of the volume that you are copying the snapshot to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSnapshotARN

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

        CopySnapshotAndUpdateVolumeRequest.Builder copyStrategy​(String copyStrategy)

        Specifies the strategy to use when copying data from a snapshot to the volume.

        • FULL_COPY - Copies all data from the snapshot to the volume.

        • INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication.

        CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

        Parameters:
        copyStrategy - Specifies the strategy to use when copying data from a snapshot to the volume.

        • FULL_COPY - Copies all data from the snapshot to the volume.

        • INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication.

        CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

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

        CopySnapshotAndUpdateVolumeRequest.Builder copyStrategy​(OpenZFSCopyStrategy copyStrategy)

        Specifies the strategy to use when copying data from a snapshot to the volume.

        • FULL_COPY - Copies all data from the snapshot to the volume.

        • INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication.

        CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

        Parameters:
        copyStrategy - Specifies the strategy to use when copying data from a snapshot to the volume.

        • FULL_COPY - Copies all data from the snapshot to the volume.

        • INCREMENTAL_COPY - Copies only the snapshot data that's changed since the previous replication.

        CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

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

        CopySnapshotAndUpdateVolumeRequest.Builder optionsWithStrings​(Collection<String> options)

        Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Parameters:
        options - Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionsWithStrings

        CopySnapshotAndUpdateVolumeRequest.Builder optionsWithStrings​(String... options)

        Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Parameters:
        options - Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        CopySnapshotAndUpdateVolumeRequest.Builder options​(Collection<UpdateOpenZFSVolumeOption> options)

        Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Parameters:
        options - Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • options

        CopySnapshotAndUpdateVolumeRequest.Builder options​(UpdateOpenZFSVolumeOption... options)

        Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

        Parameters:
        options - Confirms that you want to delete data on the destination volume that wasn’t there during the previous snapshot replication.

        Your replication will fail if you don’t include an option for a specific type of data and that data is on your destination. For example, if you don’t include DELETE_INTERMEDIATE_SNAPSHOTS and there are intermediate snapshots on the destination, you can’t copy the snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots on the destination volume that aren’t on the source volume.

        • DELETE_CLONED_VOLUMES - Deletes snapshot clones on the destination volume that aren't on the source volume.

        • DELETE_INTERMEDIATE_DATA - Overwrites snapshots on the destination volume that don’t match the source snapshot that you’re copying.

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