public CreateAutoScalingGroupRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it
launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a
launch template but use caution. If the launch template specifies an instance tag with a key that is also
specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the
value specified by the Auto Scaling group. For more information, see <a
href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html">Tag Auto Scaling
groups and instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
</p>

@param tags
       One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances
       it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the
       tags in a launch template but use caution. If the launch template specifies an instance tag with a key
       that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that
       instance tag with the value specified by the Auto Scaling group. For more information, see <a
       href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html">Tag Auto
       Scaling groups and instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
@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/CreateAutoScalingGroupRequest.java