public void setRecordPatches(java.util.Collection<RecordPatch> recordPatches) {
        if (recordPatches == null) {
            this.recordPatches = null;
            return;
        }

        this.recordPatches = new com.amazonaws.internal.SdkInternalList<RecordPatch>(recordPatches);
    }
A list of patch operations.

@param recordPatches
       A list of patch operations.
aws-java-sdk-cognitosync/src/main/java/com/amazonaws/services/cognitosync/model/UpdateRecordsRequest.java