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