public CreateBotVersionResult withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }
<p>
If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the reason that it failed to build the bot.
</p>

@param failureReason
       If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the reason that it failed to build the
       bot.
@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/CreateBotVersionResult.java