code: public UpdateDomainNameRequest withPatchOperations(PatchOperation... patchOperations) {
          if (this.patchOperations == null) {
              setPatchOperations(new java.util.ArrayList<PatchOperation>(patchOperations.length));
          }
          for (PatchOperation ele : patchOperations) {
              this.patchOperations.add(ele);
          }
          return this;
      }
docs: <p>
  A list of update operations to be applied to the specified resource and in the order specified in this list.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPatchOperations(java.util.Collection)} or {@link #withPatchOperations(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param patchOperations
  A list of update operations to be applied to the specified resource and in the order specified in this
  list.
  @return Returns a reference to this object so that method calls can be chained together.