public java.util.List<ReplicationRule> getRules() {
        return rules;
    }
<p>
An array of objects representing the replication destinations and repository filters for a replication
configuration.
</p>

@return An array of objects representing the replication destinations and repository filters for a replication
        configuration.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/ReplicationConfiguration.java