public CreateJobQueueRequest withState(JQState state) {
        this.state = state.toString();
        return this;
    }
<p>
The state of the job queue. If the job queue state is <code>ENABLED</code>, it is able to accept jobs. If the job
queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in the queue can
finish.
</p>

@param state
       The state of the job queue. If the job queue state is <code>ENABLED</code>, it is able to accept jobs. If
       the job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in
       the queue can finish.
@return Returns a reference to this object so that method calls can be chained together.
@see JQState
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/CreateJobQueueRequest.java