public UpdateScheduleRequest withState(ScheduleState state) {
        this.state = state.toString();
        return this;
    }
<p>
Specifies whether the schedule is enabled or disabled.
</p>

@param state
       Specifies whether the schedule is enabled or disabled.
@return Returns a reference to this object so that method calls can be chained together.
@see ScheduleState
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/UpdateScheduleRequest.java