public GetWorkgroupResult withWorkgroup(Workgroup workgroup) {
        setWorkgroup(workgroup);
        return this;
    }
<p>
The returned workgroup object.
</p>

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