public UpdateWorkspaceConfigurationRequest withGrafanaVersion(String grafanaVersion) {
        setGrafanaVersion(grafanaVersion);
        return this;
    }
<p>
Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the
workspace.
</p>
<p>
Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
</p>
<p>
To know what versions are available to upgrade to for a specific workspace, see the <a
href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html">ListVersions</a> operation.
</p>

@param grafanaVersion
       Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version
       of the workspace.</p>
       <p>
       Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
       </p>
       <p>
       To know what versions are available to upgrade to for a specific workspace, see the <a
       href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html">ListVersions</a>
       operation.
@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/UpdateWorkspaceConfigurationRequest.java