Interface RestoreVolumeFromSnapshotRequest.Builder

    • Method Detail

      • clientRequestToken

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

        RestoreVolumeFromSnapshotRequest.Builder volumeId​(String volumeId)

        The ID of the volume that you are restoring.

        Parameters:
        volumeId - The ID of the volume that you are restoring.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotId

        RestoreVolumeFromSnapshotRequest.Builder snapshotId​(String snapshotId)

        The ID of the source snapshot. Specifies the snapshot that you are restoring from.

        Parameters:
        snapshotId - The ID of the source snapshot. Specifies the snapshot that you are restoring from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optionsWithStrings

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

        The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

        Parameters:
        options - The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

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

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

        The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

        Parameters:
        options - The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

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

        RestoreVolumeFromSnapshotRequest.Builder options​(Collection<RestoreOpenZFSVolumeOption> options)

        The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

        Parameters:
        options - The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

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

        RestoreVolumeFromSnapshotRequest.Builder options​(RestoreOpenZFSVolumeOption... options)

        The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

        Parameters:
        options - The settings used when restoring the specified volume from snapshot.

        • DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails.

        • DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails.

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