public String getOperator() {
        return this.operator;
    }
<p>
Defines how the <code>dimensionValues</code> of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the <code>IN</code> operator, a message will be counted only if its topic matches one of the topic
filters. With <code>NOT_IN</code> operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is <code>null</code>), it will be interpreted as
<code>IN</code>.
</p>

@return Defines how the <code>dimensionValues</code> of a dimension are interpreted. For example, for dimension
        type TOPIC_FILTER, the <code>IN</code> operator, a message will be counted only if its topic matches one
        of the topic filters. With <code>NOT_IN</code> operator, a message will be counted only if it doesn't
        match any of the topic filters. The operator is optional: if it's not provided (is <code>null</code>), it
        will be interpreted as <code>IN</code>.
@see DimensionValueOperator
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/MetricDimension.java