public BatchMeterUsageRequest withUsageRecords(UsageRecord... usageRecords) {
        if (this.usageRecords == null) {
            setUsageRecords(new java.util.ArrayList<UsageRecord>(usageRecords.length));
        }
        for (UsageRecord ele : usageRecords) {
            this.usageRecords.add(ele);
        }
        return this;
    }
public BatchMeterUsageRequest withUsageRecords ( UsageRecord ... usageRecords ) { if ( this . usageRecords == null ) { setUsageRecords ( new java . util . ArrayList < UsageRecord > ( usageRecords . length ) ) ; } for ( UsageRecord ele : usageRecords ) { this . usageRecords . add ( ele ) ; } return this ; }
<p>
The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUsageRecords(java.util.Collection)} or {@link #withUsageRecords(java.util.Collection)} if you want to
override the existing values.
</p>

@param usageRecords
The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.
@return Returns a reference to this object so that method calls can be chained together.