code: public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList) {
          if (this.groupPolicyList == null) {
              setGroupPolicyList(new com.amazonaws.internal.SdkInternalList<PolicyDetail>(groupPolicyList.length));
          }
          for (PolicyDetail ele : groupPolicyList) {
              this.groupPolicyList.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the inline policies embedded in the group.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setGroupPolicyList(java.util.Collection)} or {@link #withGroupPolicyList(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param groupPolicyList
  A list of the inline policies embedded in the group.
  @return Returns a reference to this object so that method calls can be chained together.