Interface CompleteSnapshotRequest.Builder

    • Method Detail

      • 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

        CompleteSnapshotRequest.Builder checksum​(String 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, ChecksumAlgorithm
      • 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:
        ChecksumAlgorithm, ChecksumAlgorithm
      • 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, ChecksumAggregationMethod
      • 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:
        ChecksumAggregationMethod, ChecksumAggregationMethod