public CreateWorkspaceRequest withConfiguration(String configuration) {
        setConfiguration(configuration);
        return this;
    }
<p>
The configuration string for the workspace that you create. For more information about the format and
configuration options available, see <a
href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana
workspace</a>.
</p>
<p>
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For
example: '{"key": "value"}'.
</p>
<p>
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
Users of the SDK should not perform Base64 encoding on this field.
</p>

@param configuration
       The configuration string for the workspace that you create. For more information about the format and
       configuration options available, see <a
       href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your
       Grafana workspace</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/CreateWorkspaceRequest.java