code: public GetFolderResult withSubModules(SubModule... subModules) {
          if (this.subModules == null) {
              setSubModules(new java.util.ArrayList<SubModule>(subModules.length));
          }
          for (SubModule ele : subModules) {
              this.subModules.add(ele);
          }
          return this;
      }
docs: <p>
  The list of submodules that exist in the specified folder, if any.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSubModules(java.util.Collection)} or {@link #withSubModules(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param subModules
  The list of submodules that exist in the specified folder, if any.
  @return Returns a reference to this object so that method calls can be chained together.