public UpdateRecordsRequest withRecordPatches(java.util.Collection<RecordPatch> recordPatches) {
        setRecordPatches(recordPatches);
        return this;
    }
A list of patch operations.

@param recordPatches
       A list of patch operations.
@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/UpdateRecordsRequest.java