Interface CompleteSnapshotRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>, EbsRequest.Builder, SdkBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CompleteSnapshotRequest

public static interface CompleteSnapshotRequest.Builder extends EbsRequest.Builder, SdkPojo, CopyableBuilder<CompleteSnapshotRequest.Builder,CompleteSnapshotRequest>
  • Method Details

    • snapshotId

      CompleteSnapshotRequest.Builder snapshotId(String snapshotId)

      The ID of the snapshot.

      Parameters:
      snapshotId - The ID of the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changedBlocksCount

      CompleteSnapshotRequest.Builder changedBlocksCount(Integer changedBlocksCount)

      The number of blocks that were written to the snapshot.

      Parameters:
      changedBlocksCount - The number of blocks that were written to the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksum

      An aggregated Base-64 SHA256 checksum based on the checksums of each written block.

      To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.

      Parameters:
      checksum - An aggregated Base-64 SHA256 checksum based on the checksums of each written block.

      To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.

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

      CompleteSnapshotRequest.Builder checksumAlgorithm(String checksumAlgorithm)

      The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

      Parameters:
      checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      CompleteSnapshotRequest.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)

      The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

      Parameters:
      checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAggregationMethod

      CompleteSnapshotRequest.Builder checksumAggregationMethod(String checksumAggregationMethod)

      The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.

      Parameters:
      checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAggregationMethod

      CompleteSnapshotRequest.Builder checksumAggregationMethod(ChecksumAggregationMethod checksumAggregationMethod)

      The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.

      Parameters:
      checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CompleteSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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.