public ListAggregateDiscoveredResourcesResult withResourceIdentifiers(AggregateResourceIdentifier... resourceIdentifiers) {
        if (this.resourceIdentifiers == null) {
            setResourceIdentifiers(new com.amazonaws.internal.SdkInternalList<AggregateResourceIdentifier>(resourceIdentifiers.length));
        }
        for (AggregateResourceIdentifier ele : resourceIdentifiers) {
            this.resourceIdentifiers.add(ele);
        }
        return this;
    }
<p>
Returns a list of <code>ResourceIdentifiers</code> objects.
</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
       Returns a list of <code>ResourceIdentifiers</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ListAggregateDiscoveredResourcesResult.java