public MediaStreamSink withMediaStreamType(MediaStreamType mediaStreamType) {
        this.mediaStreamType = mediaStreamType.toString();
        return this;
    }
<p>
The media stream sink's media stream type.
</p>

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