code: public PutLifecycleConfigurationRequest withLifecyclePolicies(LifecyclePolicy... lifecyclePolicies) {
          if (this.lifecyclePolicies == null) {
              setLifecyclePolicies(new com.amazonaws.internal.SdkInternalList<LifecyclePolicy>(lifecyclePolicies.length));
          }
          for (LifecyclePolicy ele : lifecyclePolicies) {
              this.lifecyclePolicies.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <code>LifecyclePolicy</code> objects that define the file system's
  <code>LifecycleConfiguration</code> object. A <code>LifecycleConfiguration</code> object tells lifecycle
  management when to transition files from the Standard storage class to the Infrequent Access storage class.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setLifecyclePolicies(java.util.Collection)} or {@link #withLifecyclePolicies(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param lifecyclePolicies
  An array of <code>LifecyclePolicy</code> objects that define the file system's
  <code>LifecycleConfiguration</code> object. A <code>LifecycleConfiguration</code> object tells lifecycle
  management when to transition files from the Standard storage class to the Infrequent Access storage
  class.
  @return Returns a reference to this object so that method calls can be chained together.