Struct aws_sdk_grafana::operation::update_workspace_configuration::builders::UpdateWorkspaceConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateWorkspaceConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateWorkspaceConfigurationInput
.
Implementations§
source§impl UpdateWorkspaceConfigurationInputBuilder
impl UpdateWorkspaceConfigurationInputBuilder
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.
sourcepub fn build(self) -> Result<UpdateWorkspaceConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateWorkspaceConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateWorkspaceConfigurationInput
.
source§impl UpdateWorkspaceConfigurationInputBuilder
impl UpdateWorkspaceConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateWorkspaceConfigurationOutput, SdkError<UpdateWorkspaceConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateWorkspaceConfigurationOutput, SdkError<UpdateWorkspaceConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateWorkspaceConfigurationInputBuilder
impl Clone for UpdateWorkspaceConfigurationInputBuilder
source§fn clone(&self) -> UpdateWorkspaceConfigurationInputBuilder
fn clone(&self) -> UpdateWorkspaceConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateWorkspaceConfigurationInputBuilder
impl Default for UpdateWorkspaceConfigurationInputBuilder
source§fn default() -> UpdateWorkspaceConfigurationInputBuilder
fn default() -> UpdateWorkspaceConfigurationInputBuilder
source§impl PartialEq<UpdateWorkspaceConfigurationInputBuilder> for UpdateWorkspaceConfigurationInputBuilder
impl PartialEq<UpdateWorkspaceConfigurationInputBuilder> for UpdateWorkspaceConfigurationInputBuilder
source§fn eq(&self, other: &UpdateWorkspaceConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateWorkspaceConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.