public MediaStreamSink withSinkType(MediaStreamPipelineSinkType sinkType) {
        this.sinkType = sinkType.toString();
        return this;
    }
<p>
The media stream sink's type.
</p>

@param sinkType
       The media stream sink's type.
@return Returns a reference to this object so that method calls can be chained together.
@see MediaStreamPipelineSinkType
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/MediaStreamSink.java