public ImportFilter withOperator(ImportFilterOperator operator) {
        this.operator = operator.toString();
        return this;
    }
<p>
The operator to use for the filter. Specify EQ when the <code>ListImports</code> operation should return only
resource types that equal the specified value. Specify CO when the <code>ListImports</code> operation should
return resource types that contain the specified value.
</p>

@param operator
       The operator to use for the filter. Specify EQ when the <code>ListImports</code> operation should return
       only resource types that equal the specified value. Specify CO when the <code>ListImports</code> operation
       should return resource types that contain the specified value.
@return Returns a reference to this object so that method calls can be chained together.
@see ImportFilterOperator
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ImportFilter.java