#[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 ==
.