public ListLifecyclePoliciesResult withLifecyclePolicySummaries(LifecyclePolicySummary... lifecyclePolicySummaries) {
        if (this.lifecyclePolicySummaries == null) {
            setLifecyclePolicySummaries(new java.util.ArrayList<LifecyclePolicySummary>(lifecyclePolicySummaries.length));
        }
        for (LifecyclePolicySummary ele : lifecyclePolicySummaries) {
            this.lifecyclePolicySummaries.add(ele);
        }
        return this;
    }
<p>
Details about the requested lifecycle policies.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLifecyclePolicySummaries(java.util.Collection)} or
{@link #withLifecyclePolicySummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param lifecyclePolicySummaries
       Details about the requested lifecycle policies.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/ListLifecyclePoliciesResult.java