public CreateScheduledActionResult withState(ScheduledActionState state) {
        this.state = state.toString();
        return this;
    }
<p>
The state of the scheduled action. For example, <code>DISABLED</code>.
</p>

@param state
       The state of the scheduled action. For example, <code>DISABLED</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ScheduledActionState
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateScheduledActionResult.java