code: public ListPoliciesGrantingServiceAccessResult withPoliciesGrantingServiceAccess(ListPoliciesGrantingServiceAccessEntry... policiesGrantingServiceAccess) {
          if (this.policiesGrantingServiceAccess == null) {
              setPoliciesGrantingServiceAccess(new com.amazonaws.internal.SdkInternalList<ListPoliciesGrantingServiceAccessEntry>(
                      policiesGrantingServiceAccess.length));
          }
          for (ListPoliciesGrantingServiceAccessEntry ele : policiesGrantingServiceAccess) {
              this.policiesGrantingServiceAccess.add(ele);
          }
          return this;
      }
docs: <p>
  A <code>ListPoliciesGrantingServiceAccess</code> object that contains details about the permissions policies
  attached to the specified identity (user, group, or role).
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPoliciesGrantingServiceAccess(java.util.Collection)} or
  {@link #withPoliciesGrantingServiceAccess(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param policiesGrantingServiceAccess
  A <code>ListPoliciesGrantingServiceAccess</code> object that contains details about the permissions
  policies attached to the specified identity (user, group, or role).
  @return Returns a reference to this object so that method calls can be chained together.