Interface UpdateWorkspaceConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkspaceConfigurationRequest.Builder,,UpdateWorkspaceConfigurationRequest> GrafanaRequest.Builder,SdkBuilder<UpdateWorkspaceConfigurationRequest.Builder,,UpdateWorkspaceConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkspaceConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(String configuration) The new configuration string for the workspace.grafanaVersion(String grafanaVersion) Specifies the version of Grafana to support in the workspace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceId(String workspaceId) The ID of the workspace to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
configuration
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
- Parameters:
configuration- The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grafanaVersion
Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the workspace.
Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
To know what versions are available to upgrade to for a specific workspace, see the ListVersions operation.
- Parameters:
grafanaVersion- Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the workspace.Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).
To know what versions are available to upgrade to for a specific workspace, see the ListVersions operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace to update.
- Parameters:
workspaceId- The ID of the workspace to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkspaceConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkspaceConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-