#[non_exhaustive]pub struct StackDriftInformationBuilder { /* private fields */ }
Expand description
A builder for StackDriftInformation
.
Implementations§
source§impl StackDriftInformationBuilder
impl StackDriftInformationBuilder
sourcepub fn stack_drift_status(self, input: StackDriftStatus) -> Self
pub fn stack_drift_status(self, input: StackDriftStatus) -> Self
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack's actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
sourcepub fn set_stack_drift_status(self, input: Option<StackDriftStatus>) -> Self
pub fn set_stack_drift_status(self, input: Option<StackDriftStatus>) -> Self
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack's actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
sourcepub fn get_stack_drift_status(&self) -> &Option<StackDriftStatus>
pub fn get_stack_drift_status(&self) -> &Option<StackDriftStatus>
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED
: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED
: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC
: The stack's actual configuration matches its expected template configuration. -
UNKNOWN
: This value is reserved for future use.
sourcepub fn last_check_timestamp(self, input: DateTime) -> Self
pub fn last_check_timestamp(self, input: DateTime) -> Self
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
sourcepub fn set_last_check_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_check_timestamp(self, input: Option<DateTime>) -> Self
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
sourcepub fn get_last_check_timestamp(&self) -> &Option<DateTime>
pub fn get_last_check_timestamp(&self) -> &Option<DateTime>
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
sourcepub fn build(self) -> StackDriftInformation
pub fn build(self) -> StackDriftInformation
Consumes the builder and constructs a StackDriftInformation
.
Trait Implementations§
source§impl Clone for StackDriftInformationBuilder
impl Clone for StackDriftInformationBuilder
source§fn clone(&self) -> StackDriftInformationBuilder
fn clone(&self) -> StackDriftInformationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackDriftInformationBuilder
impl Debug for StackDriftInformationBuilder
source§impl Default for StackDriftInformationBuilder
impl Default for StackDriftInformationBuilder
source§fn default() -> StackDriftInformationBuilder
fn default() -> StackDriftInformationBuilder
source§impl PartialEq for StackDriftInformationBuilder
impl PartialEq for StackDriftInformationBuilder
source§fn eq(&self, other: &StackDriftInformationBuilder) -> bool
fn eq(&self, other: &StackDriftInformationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackDriftInformationBuilder
Auto Trait Implementations§
impl Freeze for StackDriftInformationBuilder
impl RefUnwindSafe for StackDriftInformationBuilder
impl Send for StackDriftInformationBuilder
impl Sync for StackDriftInformationBuilder
impl Unpin for StackDriftInformationBuilder
impl UnwindSafe for StackDriftInformationBuilder
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