public ChannelMessageCallback withContentType(String contentType) {
        setContentType(contentType);
        return this;
    }
<p>
The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is
<code>application/amz-chime-lex-msgs</code> for success responses and
<code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a
href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing
responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.
</p>

@param contentType
       The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is
       <code>application/amz-chime-lex-msgs</code> for success responses and
       <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a
       href="https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html">Processing
       responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/ChannelMessageCallback.java