public CreateScheduledActionRequest withEnable(Boolean enable) {
        setEnable(enable);
        return this;
    }
<p>
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
<code>state</code> of the scheduled action, see <a>ScheduledAction</a>.
</p>

@param enable
       If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information
       about <code>state</code> of the scheduled action, see <a>ScheduledAction</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateScheduledActionRequest.java