docs: public ListPoliciesGrantingServiceAccessEntry withPolicies(PolicyGrantingServiceAccess... policies) {
          if (this.policies == null) {
              setPolicies(new com.amazonaws.internal.SdkInternalList<PolicyGrantingServiceAccess>(policies.length));
          }
          for (PolicyGrantingServiceAccess ele : policies) {
              this.policies.add(ele);
          }
          return this;
      }