public void setEndDate(java.util.Date endDate) {
        this.endDate = endDate;
    }
<p>
The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the <code>EndDate</code> you specify. EventBridge Scheduler
ignores <code>EndDate</code> for one-time schedules.
</p>

@param endDate
       The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
       expression, invocations might stop on, or before, the <code>EndDate</code> you specify. EventBridge
       Scheduler ignores <code>EndDate</code> for one-time schedules.
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/GetScheduleResult.java