public PutSnapshotBlockRequest withChecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) {
        this.checksumAlgorithm = checksumAlgorithm.toString();
        return this;
    }
<p>
The algorithm used to generate the checksum. Currently, the only supported algorithm is <code>SHA256</code>.
</p>

@param checksumAlgorithm
       The algorithm used to generate the checksum. Currently, the only supported algorithm is
       <code>SHA256</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ChecksumAlgorithm
aws-java-sdk-ebs/src/main/java/com/amazonaws/services/ebs/model/PutSnapshotBlockRequest.java