public CreateRule withInterval(Integer interval) {
        setInterval(interval);
        return this;
    }
<p>
The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
</p>

@param interval
       The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/CreateRule.java