Struct aws_sdk_dlm::types::builders::ExclusionsBuilder
source · #[non_exhaustive]pub struct ExclusionsBuilder { /* private fields */ }
Expand description
A builder for Exclusions
.
Implementations§
source§impl ExclusionsBuilder
impl ExclusionsBuilder
sourcepub fn exclude_boot_volumes(self, input: bool) -> Self
pub fn exclude_boot_volumes(self, input: bool) -> Self
[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true
.
sourcepub fn set_exclude_boot_volumes(self, input: Option<bool>) -> Self
pub fn set_exclude_boot_volumes(self, input: Option<bool>) -> Self
[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true
.
sourcepub fn get_exclude_boot_volumes(&self) -> &Option<bool>
pub fn get_exclude_boot_volumes(&self) -> &Option<bool>
[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true
.
sourcepub fn exclude_volume_types(self, input: impl Into<String>) -> Self
pub fn exclude_volume_types(self, input: impl Into<String>) -> Self
Appends an item to exclude_volume_types
.
To override the contents of this collection use set_exclude_volume_types
.
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
sourcepub fn set_exclude_volume_types(self, input: Option<Vec<String>>) -> Self
pub fn set_exclude_volume_types(self, input: Option<Vec<String>>) -> Self
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
sourcepub fn get_exclude_volume_types(&self) -> &Option<Vec<String>>
pub fn get_exclude_volume_types(&self) -> &Option<Vec<String>>
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
Appends an item to exclude_tags
.
To override the contents of this collection use set_exclude_tags
.
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
sourcepub fn build(self) -> Exclusions
pub fn build(self) -> Exclusions
Consumes the builder and constructs a Exclusions
.
Trait Implementations§
source§impl Clone for ExclusionsBuilder
impl Clone for ExclusionsBuilder
source§fn clone(&self) -> ExclusionsBuilder
fn clone(&self) -> ExclusionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExclusionsBuilder
impl Debug for ExclusionsBuilder
source§impl Default for ExclusionsBuilder
impl Default for ExclusionsBuilder
source§fn default() -> ExclusionsBuilder
fn default() -> ExclusionsBuilder
source§impl PartialEq for ExclusionsBuilder
impl PartialEq for ExclusionsBuilder
source§fn eq(&self, other: &ExclusionsBuilder) -> bool
fn eq(&self, other: &ExclusionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExclusionsBuilder
Auto Trait Implementations§
impl Freeze for ExclusionsBuilder
impl RefUnwindSafe for ExclusionsBuilder
impl Send for ExclusionsBuilder
impl Sync for ExclusionsBuilder
impl Unpin for ExclusionsBuilder
impl UnwindSafe for ExclusionsBuilder
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> 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