public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The time the scheduled maintenance is to end.
</p>

@param endTime
       The time the scheduled maintenance is to end.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/MaintenanceSchedule.java