public Pipeline withActivities(java.util.Collection<PipelineActivity> activities) {
        setActivities(activities);
        return this;
    }
<p>
The activities that perform transformations on the messages.
</p>

@param activities
       The activities that perform transformations on the messages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/Pipeline.java