public BotLocaleImportSpecification withLocaleId(String localeId) {
        setLocaleId(localeId);
        return this;
    }
<p>
The identifier of the language and locale that the bot will be used in. The string must match one of the
supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more
information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported
languages</a>.
</p>

@param localeId
       The identifier of the language and locale that the bot will be used in. The string must match one of the
       supported locales. All of the intents, slot types, and slots used in the bot must have the same locale.
       For more information, see <a
       href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/BotLocaleImportSpecification.java