public AutoScalingGroup withTrafficSources(TrafficSourceIdentifier... trafficSources) {
        if (this.trafficSources == null) {
            setTrafficSources(new com.amazonaws.internal.SdkInternalList<TrafficSourceIdentifier>(trafficSources.length));
        }
        for (TrafficSourceIdentifier ele : trafficSources) {
            this.trafficSources.add(ele);
        }
        return this;
    }
<p>
The traffic sources associated with this Auto Scaling group.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTrafficSources(java.util.Collection)} or {@link #withTrafficSources(java.util.Collection)} if you want
to override the existing values.
</p>

@param trafficSources
       The traffic sources associated with this Auto Scaling group.
@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/AutoScalingGroup.java