public TaskSchedule getSchedule() {
        return this.schedule;
    }
<p>
Specifies a schedule for when you want your task to run. For more information, see <a
href="https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html">Scheduling your task</a>.
</p>

@return Specifies a schedule for when you want your task to run. For more information, see <a
        href="https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html">Scheduling your
        task</a>.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateTaskRequest.java