public LexConfiguration withLocaleId(String localeId) {
        setLocaleId(localeId);
        return this;
    }
<p>
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in
Amazon Lex V2. 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>
in the <i>Amazon Lex V2 Developer Guide</i>.
</p>

@param localeId
       Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales
       in Amazon Lex V2. 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> in the <i>Amazon Lex V2 Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/LexConfiguration.java