public CreateBotVersionRequest withChecksum(String checksum) {
        setChecksum(checksum);
        return this;
    }
<p>
Identifies a specific revision of the <code>$LATEST</code> version of the bot. If you specify a checksum and the
<code>$LATEST</code> version of the bot has a different checksum, a <code>PreconditionFailedException</code>
exception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex
publishes the <code>$LATEST</code> version.
</p>

@param checksum
       Identifies a specific revision of the <code>$LATEST</code> version of the bot. If you specify a checksum
       and the <code>$LATEST</code> version of the bot has a different checksum, a
       <code>PreconditionFailedException</code> exception is returned and Amazon Lex doesn't publish a new
       version. If you don't specify a checksum, Amazon Lex publishes the <code>$LATEST</code> version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/CreateBotVersionRequest.java