public void setDestinations(java.util.Collection<PipelineDestination> destinations) {
        if (destinations == null) {
            this.destinations = null;
            return;
        }

        this.destinations = new java.util.ArrayList<PipelineDestination>(destinations);
    }
<p>
A list of destinations to which the pipeline writes data.
</p>

@param destinations
       A list of destinations to which the pipeline writes data.
aws-java-sdk-osis/src/main/java/com/amazonaws/services/osis/model/PipelineSummary.java