public void setAccept(String accept) {
        this.accept = accept;
    }
<p>
The message that Amazon Lex returns in the response can be either text or speech based depending on the value of
this field.
</p>
<ul>
<li>
<p>
If the value is <code>text/plain; charset=utf-8</code>, Amazon Lex returns text in the response.
</p>
</li>
<li>
<p>
If the value begins with <code>audio/</code>, Amazon Lex returns speech in the response. Amazon Lex uses Amazon
Polly to generate the speech in the configuration that you specify. For example, if you specify
<code>audio/mpeg</code> as the value, Amazon Lex returns speech in the MPEG format.
</p>
</li>
<li>
<p>
If the value is <code>audio/pcm</code>, the speech is returned as <code>audio/pcm</code> in 16-bit, little endian
format.
</p>
</li>
<li>
<p>
The following are the accepted values:
</p>
<ul>
<li>
<p>
<code>audio/mpeg</code>
</p>
</li>
<li>
<p>
<code>audio/ogg</code>
</p>
</li>
<li>
<p>
<code>audio/pcm</code>
</p>
</li>
<li>
<p>
<code>audio/*</code> (defaults to mpeg)
</p>
</li>
<li>
<p>
<code>text/plain; charset=utf-8</code>
</p>
</li>
</ul>
</li>
</ul>

@param accept
       The message that Amazon Lex returns in the response can be either text or speech based depending on the
       value of this field.</p>
       <ul>
       <li>
       <p>
       If the value is <code>text/plain; charset=utf-8</code>, Amazon Lex returns text in the response.
       </p>
       </li>
       <li>
       <p>
       If the value begins with <code>audio/</code>, Amazon Lex returns speech in the response. Amazon Lex uses
       Amazon Polly to generate the speech in the configuration that you specify. For example, if you specify
       <code>audio/mpeg</code> as the value, Amazon Lex returns speech in the MPEG format.
       </p>
       </li>
       <li>
       <p>
       If the value is <code>audio/pcm</code>, the speech is returned as <code>audio/pcm</code> in 16-bit, little
       endian format.
       </p>
       </li>
       <li>
       <p>
       The following are the accepted values:
       </p>
       <ul>
       <li>
       <p>
       <code>audio/mpeg</code>
       </p>
       </li>
       <li>
       <p>
       <code>audio/ogg</code>
       </p>
       </li>
       <li>
       <p>
       <code>audio/pcm</code>
       </p>
       </li>
       <li>
       <p>
       <code>audio/*</code> (defaults to mpeg)
       </p>
       </li>
       <li>
       <p>
       <code>text/plain; charset=utf-8</code>
       </p>
       </li>
       </ul>
       </li>
aws-java-sdk-lex/src/main/java/com/amazonaws/services/lexruntime/model/PutSessionRequest.java