public Threshold withOperator(Operator operator) {
        this.operator = operator.toString();
        return this;
    }
<p>
The operator of the threshold.
</p>

@param operator
       The operator of the threshold.
@return Returns a reference to this object so that method calls can be chained together.
@see Operator
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/Threshold.java