public ExecuteStatementRequest withWorkgroupName(String workgroupName) {
        setWorkgroupName(workgroupName);
        return this;
    }
<p>
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a
serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
</p>

@param workgroupName
       The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to
       a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/ExecuteStatementRequest.java