public ListSharedReportGroupsResult withReportGroups(String... reportGroups) {
        if (this.reportGroups == null) {
            setReportGroups(new java.util.ArrayList<String>(reportGroups.length));
        }
        for (String ele : reportGroups) {
            this.reportGroups.add(ele);
        }
        return this;
    }
<p>
The list of ARNs for the report groups shared with the current Amazon Web Services account or user.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReportGroups(java.util.Collection)} or {@link #withReportGroups(java.util.Collection)} if you want to
override the existing values.
</p>

@param reportGroups
       The list of ARNs for the report groups shared with the current Amazon Web Services account or user.
@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/ListSharedReportGroupsResult.java