public Block withBlockIndex(Integer blockIndex) {
        setBlockIndex(blockIndex);
        return this;
    }
<p>
The block index.
</p>

@param blockIndex
       The block index.
@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/Block.java