code: public CreateCommitRequest withSetFileModes(SetFileModeEntry... setFileModes) {
          if (this.setFileModes == null) {
              setSetFileModes(new java.util.ArrayList<SetFileModeEntry>(setFileModes.length));
          }
          for (SetFileModeEntry ele : setFileModes) {
              this.setFileModes.add(ele);
          }
          return this;
      }
docs: <p>
  The file modes to update for files in this commit.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSetFileModes(java.util.Collection)} or {@link #withSetFileModes(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param setFileModes
  The file modes to update for files in this commit.
  @return Returns a reference to this object so that method calls can be chained together.