public PutSnapshotBlockRequest withBlockData(java.io.InputStream blockData) {
        setBlockData(blockData);
        return this;
    }
<p>
The data to write to the block.
</p>
<p>
The block data is not signed as part of the Signature Version 4 signing process. As a result, you must generate
and provide a Base64-encoded SHA256 checksum for the block data using the <b>x-amz-Checksum</b> header. Also, you
must specify the checksum algorithm using the <b>x-amz-Checksum-Algorithm</b> header. The checksum that you
provide is part of the Signature Version 4 signing process. It is validated against a checksum generated by
Amazon EBS to ensure the validity and authenticity of the data. If the checksums do not correspond, the request
fails. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-checksums">
Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
</p>

@param blockData
       The data to write to the block.</p>
       <p>
       The block data is not signed as part of the Signature Version 4 signing process. As a result, you must
       generate and provide a Base64-encoded SHA256 checksum for the block data using the <b>x-amz-Checksum</b>
       header. Also, you must specify the checksum algorithm using the <b>x-amz-Checksum-Algorithm</b> header.
       The checksum that you provide is part of the Signature Version 4 signing process. It is validated against
       a checksum generated by Amazon EBS to ensure the validity and authenticity of the data. If the checksums
       do not correspond, the request fails. For more information, see <a href=
       "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-checksums">
       Using checksums with the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ebs/src/main/java/com/amazonaws/services/ebs/model/PutSnapshotBlockRequest.java