public GetBotResult withLocale(String locale) {
        setLocale(locale);
        return this;
    }
<p>
The target locale for the bot.
</p>

@param locale
       The target locale for the bot.
@return Returns a reference to this object so that method calls can be chained together.
@see Locale
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetBotResult.java