public Message withContentType(MessageContentType contentType) {
        this.contentType = contentType.toString();
        return this;
    }
<p>
Indicates the type of response.
</p>

@param contentType
       Indicates the type of response.
@return Returns a reference to this object so that method calls can be chained together.
@see MessageContentType
aws-java-sdk-lexruntimev2/src/main/java/com/amazonaws/services/lexruntimev2/model/Message.java