public BatchGetReportGroupsRequest withReportGroupArns(String... reportGroupArns) {
        if (this.reportGroupArns == null) {
            setReportGroupArns(new java.util.ArrayList<String>(reportGroupArns.length));
        }
        for (String ele : reportGroupArns) {
            this.reportGroupArns.add(ele);
        }
        return this;
    }
<p>
An array of report group ARNs that identify the report groups to return.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReportGroupArns(java.util.Collection)} or {@link #withReportGroupArns(java.util.Collection)} if you
want to override the existing values.
</p>

@param reportGroupArns
       An array of report group ARNs that identify the report groups to return.
@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/BatchGetReportGroupsRequest.java