Struct aws_sdk_grafana::operation::update_workspace_configuration::builders::UpdateWorkspaceConfigurationFluentBuilder
source · pub struct UpdateWorkspaceConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateWorkspaceConfiguration
.
Updates the configuration string for the given workspace
Implementations§
source§impl UpdateWorkspaceConfigurationFluentBuilder
impl UpdateWorkspaceConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateWorkspaceConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateWorkspaceConfigurationInputBuilder
Access the UpdateWorkspaceConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateWorkspaceConfigurationOutput, SdkError<UpdateWorkspaceConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateWorkspaceConfigurationOutput, SdkError<UpdateWorkspaceConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateWorkspaceConfigurationOutput, UpdateWorkspaceConfigurationError>, SdkError<UpdateWorkspaceConfigurationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateWorkspaceConfigurationOutput, UpdateWorkspaceConfigurationError>, SdkError<UpdateWorkspaceConfigurationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
sourcepub fn get_configuration(&self) -> &Option<String>
pub fn get_configuration(&self) -> &Option<String>
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace to update.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace to update.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace to update.
sourcepub fn grafana_version(self, input: impl Into<String>) -> Self
pub fn grafana_version(self, input: impl Into<String>) -> Self
Specifies the version of Grafana to support in the new 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.
sourcepub fn set_grafana_version(self, input: Option<String>) -> Self
pub fn set_grafana_version(self, input: Option<String>) -> Self
Specifies the version of Grafana to support in the new 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.
sourcepub fn get_grafana_version(&self) -> &Option<String>
pub fn get_grafana_version(&self) -> &Option<String>
Specifies the version of Grafana to support in the new 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.
Trait Implementations§
source§impl Clone for UpdateWorkspaceConfigurationFluentBuilder
impl Clone for UpdateWorkspaceConfigurationFluentBuilder
source§fn clone(&self) -> UpdateWorkspaceConfigurationFluentBuilder
fn clone(&self) -> UpdateWorkspaceConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more