public AudioParameters withCodec(String codec) {
        setCodec(codec);
        return this;
    }
<p>
The audio codec for the output file. Valid values include <code>aac</code>, <code>flac</code>, <code>mp2</code>,
<code>mp3</code>, <code>pcm</code>, and <code>vorbis</code>.
</p>

@param codec
       The audio codec for the output file. Valid values include <code>aac</code>, <code>flac</code>,
       <code>mp2</code>, <code>mp3</code>, <code>pcm</code>, and <code>vorbis</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/AudioParameters.java