public CreateRule withIntervalUnit(IntervalUnitValues intervalUnit) {
        this.intervalUnit = intervalUnit.toString();
        return this;
    }
<p>
The interval unit.
</p>

@param intervalUnit
       The interval unit.
@return Returns a reference to this object so that method calls can be chained together.
@see IntervalUnitValues
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/CreateRule.java