public DescribeRepositoriesRequest withRegistryId(String registryId) {
        setRegistryId(registryId);
        return this;
    }
<p>
The Amazon Web Services account ID associated with the registry that contains the repositories to be described.
If you do not specify a registry, the default registry is assumed.
</p>

@param registryId
       The Amazon Web Services account ID associated with the registry that contains the repositories to be
       described. 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/DescribeRepositoriesRequest.java