public Plan repeatEvery(final Integer repeatEvery, final PlanRepeatUnit unit) {
        this.repeatEvery = repeatEvery;
        this.repeatUnit = unit == null ? null : unit.name().toLowerCase();
        return this;
    }
public Plan repeatEvery ( final Integer repeatEvery , final PlanRepeatUnit unit ) { this . repeatEvery = repeatEvery ; this . repeatUnit = unit == null ? null : unit . name ( ) . toLowerCase ( ) ; return this ; }
The duration of each cycle. Required.