public BatchGetCustomDataIdentifiersResult withCustomDataIdentifiers(BatchGetCustomDataIdentifierSummary... customDataIdentifiers) {
        if (this.customDataIdentifiers == null) {
            setCustomDataIdentifiers(new java.util.ArrayList<BatchGetCustomDataIdentifierSummary>(customDataIdentifiers.length));
        }
        for (BatchGetCustomDataIdentifierSummary ele : customDataIdentifiers) {
            this.customDataIdentifiers.add(ele);
        }
        return this;
    }
<p>
An array of objects, one for each custom data identifier that matches the criteria specified in the request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCustomDataIdentifiers(java.util.Collection)} or
{@link #withCustomDataIdentifiers(java.util.Collection)} if you want to override the existing values.
</p>

@param customDataIdentifiers
       An array of objects, one for each custom data identifier that matches the criteria specified in the
       request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BatchGetCustomDataIdentifiersResult.java