public LexConfiguration withRespondsTo(String respondsTo) {
        setRespondsTo(respondsTo);
        return this;
    }
<important>
<p>
<b>Deprecated</b>. Use <code>InvokedBy</code> instead.
</p>
</important>
<p>
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
</p>

@param respondsTo
       <p>
       <b>Deprecated</b>. Use <code>InvokedBy</code> instead.
       </p>
       </important>
       <p>
       Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not
       supported.
@return Returns a reference to this object so that method calls can be chained together.
@see RespondsTo
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/LexConfiguration.java