public BatchGetLifecyclePolicyRequest withIdentifiers(LifecyclePolicyIdentifier... identifiers) {
        if (this.identifiers == null) {
            setIdentifiers(new java.util.ArrayList<LifecyclePolicyIdentifier>(identifiers.length));
        }
        for (LifecyclePolicyIdentifier ele : identifiers) {
            this.identifiers.add(ele);
        }
        return this;
    }
<p>
The unique identifiers of policy types and policy names.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIdentifiers(java.util.Collection)} or {@link #withIdentifiers(java.util.Collection)} if you want to
override the existing values.
</p>

@param identifiers
       The unique identifiers of policy types and policy names.
@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/BatchGetLifecyclePolicyRequest.java