Interface CopySnapshotAndUpdateVolumeRequest.Builder

  • Method Details

    • 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

      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

      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:
    • 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:
    • optionsWithStrings

      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

      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

      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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.