public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not
trigger.
</p>

@param endTime
       The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not
       trigger.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateScheduledActionRequest.java