public PutSnapshotBlockRequest withBlockIndex(Integer blockIndex) {
        setBlockIndex(blockIndex);
        return this;
    }
<p>
The block index of the block in which to write the data. A block index is a logical index in units of
<code>512</code> KiB blocks. To identify the block index, divide the logical offset of the data in the logical
volume by the block size (logical offset of data/<code>524288</code>). The logical offset of the data must be
<code>512</code> KiB aligned.
</p>

@param blockIndex
       The block index of the block in which to write the data. A block index is a logical index in units of
       <code>512</code> KiB blocks. To identify the block index, divide the logical offset of the data in the
       logical volume by the block size (logical offset of data/<code>524288</code>). The logical offset of the
       data must be <code>512</code> KiB aligned.
@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