code: public GetLifecyclePoliciesResult withPolicies(LifecyclePolicySummary... policies) {
          if (this.policies == null) {
              setPolicies(new java.util.ArrayList<LifecyclePolicySummary>(policies.length));
          }
          for (LifecyclePolicySummary ele : policies) {
              this.policies.add(ele);
          }
          return this;
      }
docs: <p>
  Summary information about the lifecycle 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
  Summary information about the lifecycle policies.
  @return Returns a reference to this object so that method calls can be chained together.