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 fn customize(
self,
) -> CustomizableOperation<UpdateWorkspaceConfigurationOutput, UpdateWorkspaceConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateWorkspaceConfigurationOutput, UpdateWorkspaceConfigurationError, Self>
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 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.
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 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.
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 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.
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 moreAuto Trait Implementations§
impl Freeze for UpdateWorkspaceConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateWorkspaceConfigurationFluentBuilder
impl Send for UpdateWorkspaceConfigurationFluentBuilder
impl Sync for UpdateWorkspaceConfigurationFluentBuilder
impl Unpin for UpdateWorkspaceConfigurationFluentBuilder
impl !UnwindSafe for UpdateWorkspaceConfigurationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more