public DescribeTrafficSourcesRequest withTrafficSourceType(String trafficSourceType) {
        setTrafficSourceType(trafficSourceType);
        return this;
    }
<p>
The traffic source type that you want to describe.
</p>
<p>
The following lists the valid values:
</p>
<ul>
<li>
<p>
<code>elb</code> if the traffic source is a Classic Load Balancer.
</p>
</li>
<li>
<p>
<code>elbv2</code> if the traffic source is a Application Load Balancer, Gateway Load Balancer, or Network Load
Balancer.
</p>
</li>
<li>
<p>
<code>vpc-lattice</code> if the traffic source is VPC Lattice.
</p>
</li>
</ul>

@param trafficSourceType
       The traffic source type that you want to describe.</p>
       <p>
       The following lists the valid values:
       </p>
       <ul>
       <li>
       <p>
       <code>elb</code> if the traffic source is a Classic Load Balancer.
       </p>
       </li>
       <li>
       <p>
       <code>elbv2</code> if the traffic source is a Application Load Balancer, Gateway Load Balancer, or Network
       Load Balancer.
       </p>
       </li>
       <li>
       <p>
       <code>vpc-lattice</code> if the traffic source is VPC Lattice.
       </p>
       </li>
@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/DescribeTrafficSourcesRequest.java