public DescribeLifecycleConfigurationResult 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;
    }
<p>
An array of lifecycle management policies. EFS supports a maximum of one policy per file system.
</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 lifecycle management policies. EFS supports a maximum of one policy per file system.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-efs/src/main/java/com/amazonaws/services/elasticfilesystem/model/DescribeLifecycleConfigurationResult.java