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.
This field is required.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.
This field is required.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.
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 for UpdateWorkspaceConfigurationInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateWorkspaceConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateWorkspaceConfigurationInputBuilder
impl RefUnwindSafe for UpdateWorkspaceConfigurationInputBuilder
impl Send for UpdateWorkspaceConfigurationInputBuilder
impl Sync for UpdateWorkspaceConfigurationInputBuilder
impl Unpin for UpdateWorkspaceConfigurationInputBuilder
impl UnwindSafe for UpdateWorkspaceConfigurationInputBuilder
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