code: public UpdateRecordsRequest withRecordPatches(RecordPatch... recordPatches) {
          if (this.recordPatches == null) {
              setRecordPatches(new com.amazonaws.internal.SdkInternalList<RecordPatch>(recordPatches.length));
          }
          for (RecordPatch ele : recordPatches) {
              this.recordPatches.add(ele);
          }
          return this;
      }
docs: A list of patch operations.
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRecordPatches(java.util.Collection)} or {@link #withRecordPatches(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param recordPatches
  A list of patch operations.
  @return Returns a reference to this object so that method calls can be chained together.