public CreateReportGroupRequest withTags(Tag... tags) {
        if (this.tags == null) {
            setTags(new java.util.ArrayList<Tag>(tags.length));
        }
        for (Tag ele : tags) {
            this.tags.add(ele);
        }
        return this;
    }
<p>
A list of tag key and value pairs associated with this report group.
</p>
<p>
These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
existing values.
</p>

@param tags
       A list of tag key and value pairs associated with this report group. </p>
       <p>
       These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/CreateReportGroupRequest.java