code: public SearchProfilesResult withProfiles(ProfileData... profiles) {
          if (this.profiles == null) {
              setProfiles(new java.util.ArrayList<ProfileData>(profiles.length));
          }
          for (ProfileData ele : profiles) {
              this.profiles.add(ele);
          }
          return this;
      }
docs: <p>
  The profiles that meet the specified set of filter criteria, in sort order.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setProfiles(java.util.Collection)} or {@link #withProfiles(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param profiles
  The profiles that meet the specified set of filter criteria, in sort order.
  @return Returns a reference to this object so that method calls can be chained together.