public void setTrafficSources(java.util.Collection<TrafficSourceIdentifier> trafficSources) {
        if (trafficSources == null) {
            this.trafficSources = null;
            return;
        }

        this.trafficSources = new com.amazonaws.internal.SdkInternalList<TrafficSourceIdentifier>(trafficSources);
    }
<p>
The list of traffic sources to attach to this Auto Scaling group. You can use any of the following as traffic
sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load Balancer,
Network Load Balancer, and VPC Lattice.
</p>

@param trafficSources
       The list of traffic sources to attach to this Auto Scaling group. You can use any of the following as
       traffic sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load
       Balancer, Network Load Balancer, and VPC Lattice.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/CreateAutoScalingGroupRequest.java