public java.util.List<RegistryScanningRule> getRules() {
        return rules;
    }
<p>
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are
used and at what frequency scanning will occur.
</p>

@return The scanning rules to use for the registry. A scanning rule is used to determine which repository filters
        are used and at what frequency scanning will occur.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/PutRegistryScanningConfigurationRequest.java