Struct aws_sdk_backup::operation::update_global_settings::builders::UpdateGlobalSettingsFluentBuilder
source · pub struct UpdateGlobalSettingsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateGlobalSettings
.
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine the current settings.
Implementations§
source§impl UpdateGlobalSettingsFluentBuilder
impl UpdateGlobalSettingsFluentBuilder
sourcepub fn as_input(&self) -> &UpdateGlobalSettingsInputBuilder
pub fn as_input(&self) -> &UpdateGlobalSettingsInputBuilder
Access the UpdateGlobalSettings as a reference.
sourcepub async fn send(
self
) -> Result<UpdateGlobalSettingsOutput, SdkError<UpdateGlobalSettingsError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateGlobalSettingsOutput, SdkError<UpdateGlobalSettingsError, 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<UpdateGlobalSettingsOutput, UpdateGlobalSettingsError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateGlobalSettingsOutput, UpdateGlobalSettingsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn global_settings(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn global_settings(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to GlobalSettings
.
To override the contents of this collection use set_global_settings
.
A value for isCrossAccountBackupEnabled
and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2
.
Trait Implementations§
source§impl Clone for UpdateGlobalSettingsFluentBuilder
impl Clone for UpdateGlobalSettingsFluentBuilder
source§fn clone(&self) -> UpdateGlobalSettingsFluentBuilder
fn clone(&self) -> UpdateGlobalSettingsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more