public UpdateRecordsResult withRecords(Record... records) {
        if (this.records == null) {
            setRecords(new com.amazonaws.internal.SdkInternalList<Record>(records.length));
        }
        for (Record ele : records) {
            this.records.add(ele);
        }
        return this;
    }
A list of records that have been updated.
<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
       A list of records that have been updated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitosync/src/main/java/com/amazonaws/services/cognitosync/model/UpdateRecordsResult.java