public ReplicationRule withRepositoryFilters(java.util.Collection<RepositoryFilter> repositoryFilters) {
        setRepositoryFilters(repositoryFilters);
        return this;
    }
<p>
An array of objects representing the filters for a replication rule. Specifying a repository filter for a
replication rule provides a method for controlling which repositories in a private registry are replicated.
</p>

@param repositoryFilters
       An array of objects representing the filters for a replication rule. Specifying a repository filter for a
       replication rule provides a method for controlling which repositories in a private registry are
       replicated.
@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/ReplicationRule.java