public void setActivities(java.util.Collection<PipelineActivity> activities) {
        if (activities == null) {
            this.activities = null;
            return;
        }

        this.activities = new java.util.ArrayList<PipelineActivity>(activities);
    }
<p>
The activities that perform transformations on the messages.
</p>

@param activities
       The activities that perform transformations on the messages.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/Pipeline.java