#[non_exhaustive]pub struct StackResourceDriftInformationBuilder { /* private fields */ }
Expand description
A builder for StackResourceDriftInformation
.
Implementations§
source§impl StackResourceDriftInformationBuilder
impl StackResourceDriftInformationBuilder
sourcepub fn stack_resource_drift_status(
self,
input: StackResourceDriftStatus
) -> Self
pub fn stack_resource_drift_status( self, input: StackResourceDriftStatus ) -> Self
Status of the resource's actual configuration compared to its expected configuration
-
DELETED
: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED
: The resource differs from its expected configuration. -
NOT_CHECKED
: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. -
IN_SYNC
: The resource's actual configuration matches its expected configuration.
sourcepub fn set_stack_resource_drift_status(
self,
input: Option<StackResourceDriftStatus>
) -> Self
pub fn set_stack_resource_drift_status( self, input: Option<StackResourceDriftStatus> ) -> Self
Status of the resource's actual configuration compared to its expected configuration
-
DELETED
: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED
: The resource differs from its expected configuration. -
NOT_CHECKED
: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. -
IN_SYNC
: The resource's actual configuration matches its expected configuration.
sourcepub fn get_stack_resource_drift_status(
&self
) -> &Option<StackResourceDriftStatus>
pub fn get_stack_resource_drift_status( &self ) -> &Option<StackResourceDriftStatus>
Status of the resource's actual configuration compared to its expected configuration
-
DELETED
: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED
: The resource differs from its expected configuration. -
NOT_CHECKED
: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. -
IN_SYNC
: The resource's actual configuration matches its expected configuration.
sourcepub fn last_check_timestamp(self, input: DateTime) -> Self
pub fn last_check_timestamp(self, input: DateTime) -> Self
When CloudFormation last checked if the resource had drifted from its expected configuration.
sourcepub fn set_last_check_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_check_timestamp(self, input: Option<DateTime>) -> Self
When CloudFormation last checked if the resource had drifted from its expected configuration.
sourcepub fn get_last_check_timestamp(&self) -> &Option<DateTime>
pub fn get_last_check_timestamp(&self) -> &Option<DateTime>
When CloudFormation last checked if the resource had drifted from its expected configuration.
sourcepub fn build(self) -> StackResourceDriftInformation
pub fn build(self) -> StackResourceDriftInformation
Consumes the builder and constructs a StackResourceDriftInformation
.
Trait Implementations§
source§impl Clone for StackResourceDriftInformationBuilder
impl Clone for StackResourceDriftInformationBuilder
source§fn clone(&self) -> StackResourceDriftInformationBuilder
fn clone(&self) -> StackResourceDriftInformationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StackResourceDriftInformationBuilder
impl Default for StackResourceDriftInformationBuilder
source§fn default() -> StackResourceDriftInformationBuilder
fn default() -> StackResourceDriftInformationBuilder
source§impl PartialEq for StackResourceDriftInformationBuilder
impl PartialEq for StackResourceDriftInformationBuilder
source§fn eq(&self, other: &StackResourceDriftInformationBuilder) -> bool
fn eq(&self, other: &StackResourceDriftInformationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackResourceDriftInformationBuilder
Auto Trait Implementations§
impl Freeze for StackResourceDriftInformationBuilder
impl RefUnwindSafe for StackResourceDriftInformationBuilder
impl Send for StackResourceDriftInformationBuilder
impl Sync for StackResourceDriftInformationBuilder
impl Unpin for StackResourceDriftInformationBuilder
impl UnwindSafe for StackResourceDriftInformationBuilder
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