public LexConfiguration withInvokedBy(InvokedBy invokedBy) {
        setInvokedBy(invokedBy);
        return this;
    }
<p>
Specifies the type of message that triggers a bot.
</p>

@param invokedBy
       Specifies the type of message that triggers a bot.
@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