public ResourceMapFilter withComparison(ResourceMapComparison comparison) {
        this.comparison = comparison.toString();
        return this;
    }
<p>
The filter's comparison.
</p>

@param comparison
       The filter's comparison.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceMapComparison
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ResourceMapFilter.java