public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }
<p>
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule
invocations must be separated by at least one hour. Times are in UTC.
</p>
<ul>
<li>
<p>
Format of at timestamp is <code>yyyy-mm-ddThh:mm:ss</code>. For example, <code>2016-03-04T17:27:00</code>.
</p>
</li>
<li>
<p>
Format of cron expression is <code>(Minutes Hours Day-of-month Month Day-of-week Year)</code>. For example,
<code>"(0 10 ? * MON *)"</code>. For more information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron
Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.
</p>
</li>
</ul>

@param schedule
       The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule
       invocations must be separated by at least one hour. Times are in UTC.</p>
       <ul>
       <li>
       <p>
       Format of at timestamp is <code>yyyy-mm-ddThh:mm:ss</code>. For example, <code>2016-03-04T17:27:00</code>.
       </p>
       </li>
       <li>
       <p>
       Format of cron expression is <code>(Minutes Hours Day-of-month Month Day-of-week Year)</code>. For
       example, <code>"(0 10 ? * MON *)"</code>. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions"
       >Cron Expressions</a> in the <i>Amazon CloudWatch Events User Guide</i>.
       </p>
       </li>
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateScheduledActionRequest.java