@Deprecated
    public GetAuthorizationTokenRequest withRegistryIds(String... registryIds) {
        if (this.registryIds == null) {
            setRegistryIds(new java.util.ArrayList<String>(registryIds.length));
        }
        for (String ele : registryIds) {
            this.registryIds.add(ele);
        }
        return this;
    }
<p>
A list of Amazon Web Services account IDs that are associated with the registries for which to get
AuthorizationData objects. If you do not specify a registry, the default registry is assumed.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRegistryIds(java.util.Collection)} or {@link #withRegistryIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param registryIds
       A list of Amazon Web Services account IDs that are associated with the registries for which to get
       AuthorizationData objects. If you do not specify a registry, the default registry is assumed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/GetAuthorizationTokenRequest.java