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

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