Struct aws_sdk_backup::input::update_global_settings_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateGlobalSettingsInput
.
Implementations§
source§impl Builder
impl Builder
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 global_settings
.
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
.
sourcepub fn set_global_settings(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_global_settings(self, input: Option<HashMap<String, String>>) -> Self
A value for isCrossAccountBackupEnabled
and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2
.
sourcepub fn build(self) -> Result<UpdateGlobalSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateGlobalSettingsInput, BuildError>
Consumes the builder and constructs a UpdateGlobalSettingsInput
.