public WorkGroup withState(WorkGroupState state) {
        this.state = state.toString();
        return this;
    }
<p>
The state of the workgroup: ENABLED or DISABLED.
</p>

@param state
       The state of the workgroup: ENABLED or DISABLED.
@return Returns a reference to this object so that method calls can be chained together.
@see WorkGroupState
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/WorkGroup.java