public UtteranceSpecification withInputType(String inputType) {
        setInputType(inputType);
        return this;
    }
<p>
The input type of the utterance. The possible values are as follows:
</p>
<ul>
<li>
<p>
PCM format: audio data must be in little-endian byte order.
</p>
<ul>
<li>
<p>
<code>audio/l16; rate=16000; channels=1</code>
</p>
</li>
<li>
<p>
<code>audio/x-l16; sample-rate=16000; channel-count=1</code>
</p>
</li>
<li>
<p>
<code>audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false</code>
</p>
</li>
</ul>
</li>
<li>
<p>
Opus format
</p>
<ul>
<li>
<p>
<code>audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4</code>
</p>
</li>
</ul>
</li>
<li>
<p>
Text format
</p>
<ul>
<li>
<p>
<code>text/plain; charset=utf-8</code>
</p>
</li>
</ul>
</li>
</ul>

@param inputType
       The input type of the utterance. The possible values are as follows:</p>
       <ul>
       <li>
       <p>
       PCM format: audio data must be in little-endian byte order.
       </p>
       <ul>
       <li>
       <p>
       <code>audio/l16; rate=16000; channels=1</code>
       </p>
       </li>
       <li>
       <p>
       <code>audio/x-l16; sample-rate=16000; channel-count=1</code>
       </p>
       </li>
       <li>
       <p>
       <code>audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false</code>
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       Opus format
       </p>
       <ul>
       <li>
       <p>
       <code>audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4</code>
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       Text format
       </p>
       <ul>
       <li>
       <p>
       <code>text/plain; charset=utf-8</code>
       </p>
       </li>
       </ul>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/UtteranceSpecification.java