Interface GetSnapshotBlockResponse.Builder

    • Method Detail

      • dataLength

        GetSnapshotBlockResponse.Builder dataLength​(Integer dataLength)

        The size of the data in the block.

        Parameters:
        dataLength - The size of the data in the block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksum

        GetSnapshotBlockResponse.Builder checksum​(String checksum)

        The checksum generated for the block, which is Base64 encoded.

        Parameters:
        checksum - The checksum generated for the block, which is Base64 encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksumAlgorithm

        GetSnapshotBlockResponse.Builder checksumAlgorithm​(String checksumAlgorithm)

        The algorithm used to generate the checksum for the block, such as SHA256.

        Parameters:
        checksumAlgorithm - The algorithm used to generate the checksum for the block, such as SHA256.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChecksumAlgorithm, ChecksumAlgorithm
      • checksumAlgorithm

        GetSnapshotBlockResponse.Builder checksumAlgorithm​(ChecksumAlgorithm checksumAlgorithm)

        The algorithm used to generate the checksum for the block, such as SHA256.

        Parameters:
        checksumAlgorithm - The algorithm used to generate the checksum for the block, such as SHA256.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChecksumAlgorithm, ChecksumAlgorithm