#[non_exhaustive]pub struct StackInstanceBuilder { /* private fields */ }
Expand description
A builder for StackInstance
.
Implementations§
source§impl StackInstanceBuilder
impl StackInstanceBuilder
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services account that the stack instance is associated with.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The name of the Amazon Web Services account that the stack instance is associated with.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The name of the Amazon Web Services account that the stack instance is associated with.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services Region that the stack instance is associated with.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The name of the Amazon Web Services Region that the stack instance is associated with.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The name of the Amazon Web Services Region that the stack instance is associated with.
sourcepub fn stack_instance_status(self, input: StackInstanceStatus) -> Self
pub fn stack_instance_status(self, input: StackInstanceStatus) -> Self
The status of the stack instance, in terms of its synchronization with its associated stack set.
-
INOPERABLE
: ADeleteStackInstances
operation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSet
operations. You might need to perform aDeleteStackInstances
operation, withRetainStacks
set to true, to delete the stack instance, and then delete the stack manually. -
OUTDATED
: The stack isn't currently up to date with the stack set because either the associated stack failed during aCreateStackSet
orUpdateStackSet
operation, or the stack was part of aCreateStackSet
orUpdateStackSet
operation that failed or was stopped before the stack was created or updated. -
CURRENT
: The stack is currently up to date with the stack set.
sourcepub fn set_stack_instance_status(
self,
input: Option<StackInstanceStatus>
) -> Self
pub fn set_stack_instance_status( self, input: Option<StackInstanceStatus> ) -> Self
The status of the stack instance, in terms of its synchronization with its associated stack set.
-
INOPERABLE
: ADeleteStackInstances
operation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSet
operations. You might need to perform aDeleteStackInstances
operation, withRetainStacks
set to true, to delete the stack instance, and then delete the stack manually. -
OUTDATED
: The stack isn't currently up to date with the stack set because either the associated stack failed during aCreateStackSet
orUpdateStackSet
operation, or the stack was part of aCreateStackSet
orUpdateStackSet
operation that failed or was stopped before the stack was created or updated. -
CURRENT
: The stack is currently up to date with the stack set.
sourcepub fn get_stack_instance_status(&self) -> &Option<StackInstanceStatus>
pub fn get_stack_instance_status(&self) -> &Option<StackInstanceStatus>
The status of the stack instance, in terms of its synchronization with its associated stack set.
-
INOPERABLE
: ADeleteStackInstances
operation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSet
operations. You might need to perform aDeleteStackInstances
operation, withRetainStacks
set to true, to delete the stack instance, and then delete the stack manually. -
OUTDATED
: The stack isn't currently up to date with the stack set because either the associated stack failed during aCreateStackSet
orUpdateStackSet
operation, or the stack was part of aCreateStackSet
orUpdateStackSet
operation that failed or was stopped before the stack was created or updated. -
CURRENT
: The stack is currently up to date with the stack set.
sourcepub fn build(self) -> StackInstance
pub fn build(self) -> StackInstance
Consumes the builder and constructs a StackInstance
.
Trait Implementations§
source§impl Clone for StackInstanceBuilder
impl Clone for StackInstanceBuilder
source§fn clone(&self) -> StackInstanceBuilder
fn clone(&self) -> StackInstanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackInstanceBuilder
impl Debug for StackInstanceBuilder
source§impl Default for StackInstanceBuilder
impl Default for StackInstanceBuilder
source§fn default() -> StackInstanceBuilder
fn default() -> StackInstanceBuilder
source§impl PartialEq for StackInstanceBuilder
impl PartialEq for StackInstanceBuilder
source§fn eq(&self, other: &StackInstanceBuilder) -> bool
fn eq(&self, other: &StackInstanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackInstanceBuilder
Auto Trait Implementations§
impl Freeze for StackInstanceBuilder
impl RefUnwindSafe for StackInstanceBuilder
impl Send for StackInstanceBuilder
impl Sync for StackInstanceBuilder
impl Unpin for StackInstanceBuilder
impl UnwindSafe for StackInstanceBuilder
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