public SynthesisTask withSampleRate(String sampleRate) {
        setSampleRate(sampleRate);
        return this;
    }
<p>
The audio frequency specified in Hz.
</p>
<p>
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard
voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is
"24000". The default value for generative voices is "24000".
</p>
<p>
Valid values for pcm are "8000" and "16000" The default value is "16000".
</p>

@param sampleRate
       The audio frequency specified in Hz.</p>
       <p>
       The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for
       standard voices is "22050". The default value for neural voices is "24000". The default value for
       long-form voices is "24000". The default value for generative voices is "24000".
       </p>
       <p>
       Valid values for pcm are "8000" and "16000" The default value is "16000".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-polly/src/main/java/com/amazonaws/services/polly/model/SynthesisTask.java