public CreateBotVersionResult withStatus(Status status) {
        this.status = status.toString();
        return this;
    }
<p>
When you send a request to create or update a bot, Amazon Lex sets the <code>status</code> response element to
<code>BUILDING</code>. After Amazon Lex builds the bot, it sets <code>status</code> to <code>READY</code>. If
Amazon Lex can't build the bot, it sets <code>status</code> to <code>FAILED</code>. Amazon Lex returns the reason
for the failure in the <code>failureReason</code> response element.
</p>

@param status
       When you send a request to create or update a bot, Amazon Lex sets the <code>status</code> response
       element to <code>BUILDING</code>. After Amazon Lex builds the bot, it sets <code>status</code> to
       <code>READY</code>. If Amazon Lex can't build the bot, it sets <code>status</code> to <code>FAILED</code>.
       Amazon Lex returns the reason for the failure in the <code>failureReason</code> response element.
@return Returns a reference to this object so that method calls can be chained together.
@see Status
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/CreateBotVersionResult.java