public SynthesisTask withSpeechMarkTypes(java.util.Collection<String> speechMarkTypes) {
        setSpeechMarkTypes(speechMarkTypes);
        return this;
    }
<p>
The type of speech marks returned for the input text.
</p>

@param speechMarkTypes
       The type of speech marks returned for the input text.
@return Returns a reference to this object so that method calls can be chained together.
@see SpeechMarkType
aws-java-sdk-polly/src/main/java/com/amazonaws/services/polly/model/SynthesisTask.java