public BatchMeterUsageResult withUnprocessedRecords(UsageRecord... unprocessedRecords) {
        if (this.unprocessedRecords == null) {
            setUnprocessedRecords(new java.util.ArrayList<UsageRecord>(unprocessedRecords.length));
        }
        for (UsageRecord ele : unprocessedRecords) {
            this.unprocessedRecords.add(ele);
        }
        return this;
    }
public BatchMeterUsageResult withUnprocessedRecords ( UsageRecord ... unprocessedRecords ) { if ( this . unprocessedRecords == null ) { setUnprocessedRecords ( new java . util . ArrayList < UsageRecord > ( unprocessedRecords . length ) ) ; } for ( UsageRecord ele : unprocessedRecords ) { this . unprocessedRecords . add ( ele ) ; } return this ; }
<p>
Contains all UsageRecords that were not processed by BatchMeterUsage. This is a list of UsageRecords. You can
retry the failed request by making another BatchMeterUsage call with this list as input in the
BatchMeterUsageRequest.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUnprocessedRecords(java.util.Collection)} or {@link #withUnprocessedRecords(java.util.Collection)} if
you want to override the existing values.
</p>

@param unprocessedRecords
Contains all UsageRecords that were not processed by BatchMeterUsage. This is a list of UsageRecords. You
can retry the failed request by making another BatchMeterUsage call with this list as input in the
BatchMeterUsageRequest.
@return Returns a reference to this object so that method calls can be chained together.