public PipelineSummary withDestinations(java.util.Collection<PipelineDestination> destinations) {
        setDestinations(destinations);
        return this;
    }
<p>
A list of destinations to which the pipeline writes data.
</p>

@param destinations
       A list of destinations to which the pipeline writes data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-osis/src/main/java/com/amazonaws/services/osis/model/PipelineSummary.java