#[non_exhaustive]pub struct AutoDeploymentBuilder { /* private fields */ }
Expand description
A builder for AutoDeployment
.
Implementations§
source§impl AutoDeploymentBuilder
impl AutoDeploymentBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
If set to true
, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
If set to true
, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
If set to true
, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
sourcepub fn retain_stacks_on_account_removal(self, input: bool) -> Self
pub fn retain_stacks_on_account_removal(self, input: bool) -> Self
If set to true
, stack resources are retained when an account is removed from a target organization or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
sourcepub fn set_retain_stacks_on_account_removal(self, input: Option<bool>) -> Self
pub fn set_retain_stacks_on_account_removal(self, input: Option<bool>) -> Self
If set to true
, stack resources are retained when an account is removed from a target organization or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
sourcepub fn get_retain_stacks_on_account_removal(&self) -> &Option<bool>
pub fn get_retain_stacks_on_account_removal(&self) -> &Option<bool>
If set to true
, stack resources are retained when an account is removed from a target organization or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to True
.
sourcepub fn build(self) -> AutoDeployment
pub fn build(self) -> AutoDeployment
Consumes the builder and constructs a AutoDeployment
.
Trait Implementations§
source§impl Clone for AutoDeploymentBuilder
impl Clone for AutoDeploymentBuilder
source§fn clone(&self) -> AutoDeploymentBuilder
fn clone(&self) -> AutoDeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoDeploymentBuilder
impl Debug for AutoDeploymentBuilder
source§impl Default for AutoDeploymentBuilder
impl Default for AutoDeploymentBuilder
source§fn default() -> AutoDeploymentBuilder
fn default() -> AutoDeploymentBuilder
source§impl PartialEq for AutoDeploymentBuilder
impl PartialEq for AutoDeploymentBuilder
source§fn eq(&self, other: &AutoDeploymentBuilder) -> bool
fn eq(&self, other: &AutoDeploymentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoDeploymentBuilder
Auto Trait Implementations§
impl Freeze for AutoDeploymentBuilder
impl RefUnwindSafe for AutoDeploymentBuilder
impl Send for AutoDeploymentBuilder
impl Sync for AutoDeploymentBuilder
impl Unpin for AutoDeploymentBuilder
impl UnwindSafe for AutoDeploymentBuilder
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