Struct aws_sdk_backup::operation::update_region_settings::builders::UpdateRegionSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateRegionSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRegionSettingsInput
.
Implementations§
source§impl UpdateRegionSettingsInputBuilder
impl UpdateRegionSettingsInputBuilder
sourcepub fn resource_type_opt_in_preference(
self,
k: impl Into<String>,
v: bool
) -> Self
pub fn resource_type_opt_in_preference( self, k: impl Into<String>, v: bool ) -> Self
Adds a key-value pair to resource_type_opt_in_preference
.
To override the contents of this collection use set_resource_type_opt_in_preference
.
Updates the list of services along with the opt-in preferences for the Region.
sourcepub fn set_resource_type_opt_in_preference(
self,
input: Option<HashMap<String, bool>>
) -> Self
pub fn set_resource_type_opt_in_preference( self, input: Option<HashMap<String, bool>> ) -> Self
Updates the list of services along with the opt-in preferences for the Region.
sourcepub fn get_resource_type_opt_in_preference(
&self
) -> &Option<HashMap<String, bool>>
pub fn get_resource_type_opt_in_preference( &self ) -> &Option<HashMap<String, bool>>
Updates the list of services along with the opt-in preferences for the Region.
sourcepub fn resource_type_management_preference(
self,
k: impl Into<String>,
v: bool
) -> Self
pub fn resource_type_management_preference( self, k: impl Into<String>, v: bool ) -> Self
Adds a key-value pair to resource_type_management_preference
.
To override the contents of this collection use set_resource_type_management_preference
.
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup's advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
sourcepub fn set_resource_type_management_preference(
self,
input: Option<HashMap<String, bool>>
) -> Self
pub fn set_resource_type_management_preference( self, input: Option<HashMap<String, bool>> ) -> Self
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup's advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
sourcepub fn get_resource_type_management_preference(
&self
) -> &Option<HashMap<String, bool>>
pub fn get_resource_type_management_preference( &self ) -> &Option<HashMap<String, bool>>
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup's advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
sourcepub fn build(self) -> Result<UpdateRegionSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateRegionSettingsInput, BuildError>
Consumes the builder and constructs a UpdateRegionSettingsInput
.
source§impl UpdateRegionSettingsInputBuilder
impl UpdateRegionSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRegionSettingsOutput, SdkError<UpdateRegionSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRegionSettingsOutput, SdkError<UpdateRegionSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRegionSettingsInputBuilder
impl Clone for UpdateRegionSettingsInputBuilder
source§fn clone(&self) -> UpdateRegionSettingsInputBuilder
fn clone(&self) -> UpdateRegionSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRegionSettingsInputBuilder
impl Default for UpdateRegionSettingsInputBuilder
source§fn default() -> UpdateRegionSettingsInputBuilder
fn default() -> UpdateRegionSettingsInputBuilder
source§impl PartialEq for UpdateRegionSettingsInputBuilder
impl PartialEq for UpdateRegionSettingsInputBuilder
source§fn eq(&self, other: &UpdateRegionSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateRegionSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.