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.
If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
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.
If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
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.
If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
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 ==
.impl StructuralPartialEq for UpdateRegionSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRegionSettingsInputBuilder
impl RefUnwindSafe for UpdateRegionSettingsInputBuilder
impl Send for UpdateRegionSettingsInputBuilder
impl Sync for UpdateRegionSettingsInputBuilder
impl Unpin for UpdateRegionSettingsInputBuilder
impl UnwindSafe for UpdateRegionSettingsInputBuilder
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