public DescribeScalingActivitiesResult withActivities(java.util.Collection<Activity> activities) {
        setActivities(activities);
        return this;
    }
<p>
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
</p>

@param activities
       The scaling activities. Activities are sorted by start time. Activities still in progress are described
       first.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/DescribeScalingActivitiesResult.java