public void setSchedule(String schedule) {
        this.schedule = schedule;
    }
<p>
The schedule for this action. The following formats are supported:
</p>
<ul>
<li>
<p>
At expressions - "<code>at(<i>yyyy</i>-<i>mm</i>-<i>dd</i>T<i>hh</i>:<i>mm</i>:<i>ss</i>)</code>"
</p>
</li>
<li>
<p>
Rate expressions - "<code>rate(<i>value</i> <i>unit</i>)</code>"
</p>
</li>
<li>
<p>
Cron expressions - "<code>cron(<i>fields</i>)</code>"
</p>
</li>
</ul>
<p>
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run
periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a
regular interval.
</p>
<p>
At and cron expressions use Universal Coordinated Time (UTC) by default.
</p>
<p>
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month]
[Day_of_Week] [Year].
</p>
<p>
For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is <code>minute</code> |
<code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.
</p>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html"
>Schedule recurring scaling actions using cron expressions</a> in the <i>Application Auto Scaling User Guide</i>.
</p>

@param schedule
       The schedule for this action. The following formats are supported:</p>
       <ul>
       <li>
       <p>
       At expressions - "<code>at(<i>yyyy</i>-<i>mm</i>-<i>dd</i>T<i>hh</i>:<i>mm</i>:<i>ss</i>)</code>"
       </p>
       </li>
       <li>
       <p>
       Rate expressions - "<code>rate(<i>value</i> <i>unit</i>)</code>"
       </p>
       </li>
       <li>
       <p>
       Cron expressions - "<code>cron(<i>fields</i>)</code>"
       </p>
       </li>
       </ul>
       <p>
       At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that
       run periodically at a specified date and time, and rate expressions are useful for scheduled actions that
       run at a regular interval.
       </p>
       <p>
       At and cron expressions use Universal Coordinated Time (UTC) by default.
       </p>
       <p>
       The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month]
       [Day_of_Week] [Year].
       </p>
       <p>
       For rate expressions, <i>value</i> is a positive integer and <i>unit</i> is <code>minute</code> |
       <code>minutes</code> | <code>hour</code> | <code>hours</code> | <code>day</code> | <code>days</code>.
       </p>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/autoscaling/application/userguide/scheduled-scaling-using-cron-expressions.html"
       >Schedule recurring scaling actions using cron expressions</a> in the <i>Application Auto Scaling User
       Guide</i>.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/ScheduledAction.java