docs: public ListAttachedGroupPoliciesResult withAttachedPolicies(AttachedPolicy... attachedPolicies) {
          if (this.attachedPolicies == null) {
              setAttachedPolicies(new com.amazonaws.internal.SdkInternalList<AttachedPolicy>(attachedPolicies.length));
          }
          for (AttachedPolicy ele : attachedPolicies) {
              this.attachedPolicies.add(ele);
          }
          return this;
      }