public TimeSeriesCondition withCondition(Condition condition) {
        this.condition = condition.toString();
        return this;
    }
<p>
The condition to apply. Valid values are <code>EQUALS</code>, <code>NOT_EQUALS</code>, <code>LESS_THAN</code> and
<code>GREATER_THAN</code>.
</p>

@param condition
       The condition to apply. Valid values are <code>EQUALS</code>, <code>NOT_EQUALS</code>,
       <code>LESS_THAN</code> and <code>GREATER_THAN</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see Condition
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/TimeSeriesCondition.java