public ScanningRepositoryFilter withFilterType(ScanningRepositoryFilterType filterType) {
        this.filterType = filterType.toString();
        return this;
    }
<p>
The type associated with the filter.
</p>

@param filterType
       The type associated with the filter.
@return Returns a reference to this object so that method calls can be chained together.
@see ScanningRepositoryFilterType
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/ScanningRepositoryFilter.java