public void setFilter(String filter) {
        this.filter = filter;
    }
<p>
The filter to use when scanning.
</p>

@param filter
       The filter to use when scanning.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/ScanningRepositoryFilter.java