public ListRegistriesResult withRegistries(RegistryListItem... registries) {
        if (this.registries == null) {
            setRegistries(new java.util.ArrayList<RegistryListItem>(registries.length));
        }
        for (RegistryListItem ele : registries) {
            this.registries.add(ele);
        }
        return this;
    }
<p>
An array of <code>RegistryDetailedListItem</code> objects containing minimal details of each registry.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRegistries(java.util.Collection)} or {@link #withRegistries(java.util.Collection)} if you want to
override the existing values.
</p>

@param registries
       An array of <code>RegistryDetailedListItem</code> objects containing minimal details of each registry.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ListRegistriesResult.java