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