public Repository withRegistryId(String registryId) {
        setRegistryId(registryId);
        return this;
    }
<p>
The Amazon Web Services account ID that's associated with the public registry that contains the repository.
</p>

@param registryId
       The Amazon Web Services account ID that's associated with the public registry that contains the
       repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecrpublic/src/main/java/com/amazonaws/services/ecrpublic/model/Repository.java