public UpdateScheduleRequest withFlexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow) {
        setFlexibleTimeWindow(flexibleTimeWindow);
        return this;
    }
<p>
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
</p>

@param flexibleTimeWindow
       Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/UpdateScheduleRequest.java