public GetUsageStatisticsResult withRecords(UsageRecord... records) {
        if (this.records == null) {
            setRecords(new java.util.ArrayList<UsageRecord>(records.length));
        }
        for (UsageRecord ele : records) {
            this.records.add(ele);
        }
        return this;
    }
<p>
An array of objects that contains the results of the query. Each object contains the data for an account that
matches the filter criteria specified in the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecords(java.util.Collection)} or {@link #withRecords(java.util.Collection)} if you want to override
the existing values.
</p>

@param records
       An array of objects that contains the results of the query. Each object contains the data for an account
       that matches the filter criteria specified in the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetUsageStatisticsResult.java