Struct aws_sdk_dlm::types::builders::ParametersBuilder
source · #[non_exhaustive]pub struct ParametersBuilder { /* private fields */ }
Expand description
A builder for Parameters
.
Implementations§
source§impl ParametersBuilder
impl ParametersBuilder
sourcepub fn exclude_boot_volume(self, input: bool) -> Self
pub fn exclude_boot_volume(self, input: bool) -> Self
[Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false
. If you specify true
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
sourcepub fn set_exclude_boot_volume(self, input: Option<bool>) -> Self
pub fn set_exclude_boot_volume(self, input: Option<bool>) -> Self
[Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false
. If you specify true
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
sourcepub fn get_exclude_boot_volume(&self) -> &Option<bool>
pub fn get_exclude_boot_volume(&self) -> &Option<bool>
[Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false
. If you specify true
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
sourcepub fn no_reboot(self, input: bool) -> Self
pub fn no_reboot(self, input: bool) -> Self
[Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true
indicates that targeted instances are not rebooted when the policy runs. false
indicates that target instances are rebooted when the policy runs. The default is true
(instances are not rebooted).
sourcepub fn set_no_reboot(self, input: Option<bool>) -> Self
pub fn set_no_reboot(self, input: Option<bool>) -> Self
[Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true
indicates that targeted instances are not rebooted when the policy runs. false
indicates that target instances are rebooted when the policy runs. The default is true
(instances are not rebooted).
sourcepub fn get_no_reboot(&self) -> &Option<bool>
pub fn get_no_reboot(&self) -> &Option<bool>
[Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true
indicates that targeted instances are not rebooted when the policy runs. false
indicates that target instances are rebooted when the policy runs. The default is true
(instances are not rebooted).
Appends an item to exclude_data_volume_tags
.
To override the contents of this collection use set_exclude_data_volume_tags
.
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
sourcepub fn build(self) -> Parameters
pub fn build(self) -> Parameters
Consumes the builder and constructs a Parameters
.
Trait Implementations§
source§impl Clone for ParametersBuilder
impl Clone for ParametersBuilder
source§fn clone(&self) -> ParametersBuilder
fn clone(&self) -> ParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParametersBuilder
impl Debug for ParametersBuilder
source§impl Default for ParametersBuilder
impl Default for ParametersBuilder
source§fn default() -> ParametersBuilder
fn default() -> ParametersBuilder
source§impl PartialEq for ParametersBuilder
impl PartialEq for ParametersBuilder
source§fn eq(&self, other: &ParametersBuilder) -> bool
fn eq(&self, other: &ParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParametersBuilder
Auto Trait Implementations§
impl Freeze for ParametersBuilder
impl RefUnwindSafe for ParametersBuilder
impl Send for ParametersBuilder
impl Sync for ParametersBuilder
impl Unpin for ParametersBuilder
impl UnwindSafe for ParametersBuilder
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