public Workgroup withStatus(WorkgroupStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the workgroup.
</p>

@param status
       The status of the workgroup.
@return Returns a reference to this object so that method calls can be chained together.
@see WorkgroupStatus
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/Workgroup.java