public CreateMediaStreamPipelineRequest withSinks(java.util.Collection<MediaStreamSink> sinks) {
        setSinks(sinks);
        return this;
    }
<p>
The data sink for the media pipeline.
</p>

@param sinks
       The data sink for the media pipeline.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/CreateMediaStreamPipelineRequest.java