public void setSources(java.util.Collection<MediaStreamSource> sources) {
        if (sources == null) {
            this.sources = null;
            return;
        }

        this.sources = new java.util.ArrayList<MediaStreamSource>(sources);
    }
<p>
The data sources for the media pipeline.
</p>

@param sources
       The data sources for the media pipeline.
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/CreateMediaStreamPipelineRequest.java