public SynthesisTask withTextType(TextType textType) {
        this.textType = textType.toString();
        return this;
    }
<p>
Specifies whether the input text is plain text or SSML. The default value is plain text.
</p>

@param textType
       Specifies whether the input text is plain text or SSML. The default value is plain text.
@return Returns a reference to this object so that method calls can be chained together.
@see TextType
aws-java-sdk-polly/src/main/java/com/amazonaws/services/polly/model/SynthesisTask.java