Struct aws_sdk_cloudformation::operation::describe_stack_drift_detection_status::builders::DescribeStackDriftDetectionStatusOutputBuilder
source · #[non_exhaustive]pub struct DescribeStackDriftDetectionStatusOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeStackDriftDetectionStatusOutput
.
Implementations§
source§impl DescribeStackDriftDetectionStatusOutputBuilder
impl DescribeStackDriftDetectionStatusOutputBuilder
sourcepub fn stack_id(self, input: impl Into<String>) -> Self
pub fn stack_id(self, input: impl Into<String>) -> Self
The ID of the stack.
This field is required.sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The ID of the stack.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The ID of the stack.
sourcepub fn stack_drift_detection_id(self, input: impl Into<String>) -> Self
pub fn stack_drift_detection_id(self, input: impl Into<String>) -> Self
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
This field is required.sourcepub fn set_stack_drift_detection_id(self, input: Option<String>) -> Self
pub fn set_stack_drift_detection_id(self, input: Option<String>) -> Self
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
sourcepub fn get_stack_drift_detection_id(&self) -> &Option<String>
pub fn get_stack_drift_detection_id(&self) -> &Option<String>
The ID of the drift detection results of this operation.
CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of reports CloudFormation retains for any given stack, and for how long, may vary.
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 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 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 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 detection_status(self, input: StackDriftDetectionStatus) -> Self
pub fn detection_status(self, input: StackDriftDetectionStatus) -> Self
The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
sourcepub fn set_detection_status(
self,
input: Option<StackDriftDetectionStatus>
) -> Self
pub fn set_detection_status( self, input: Option<StackDriftDetectionStatus> ) -> Self
The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
sourcepub fn get_detection_status(&self) -> &Option<StackDriftDetectionStatus>
pub fn get_detection_status(&self) -> &Option<StackDriftDetectionStatus>
The status of the stack drift detection operation.
-
DETECTION_COMPLETE
: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.)If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift.
-
DETECTION_FAILED
: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. -
DETECTION_IN_PROGRESS
: The stack drift detection operation is currently in progress.
sourcepub fn detection_status_reason(self, input: impl Into<String>) -> Self
pub fn detection_status_reason(self, input: impl Into<String>) -> Self
The reason the stack drift detection operation has its current status.
sourcepub fn set_detection_status_reason(self, input: Option<String>) -> Self
pub fn set_detection_status_reason(self, input: Option<String>) -> Self
The reason the stack drift detection operation has its current status.
sourcepub fn get_detection_status_reason(&self) -> &Option<String>
pub fn get_detection_status_reason(&self) -> &Option<String>
The reason the stack drift detection operation has its current status.
sourcepub fn drifted_stack_resource_count(self, input: i32) -> Self
pub fn drifted_stack_resource_count(self, input: i32) -> Self
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE
. This value will be 0 for stacks whose drift status is IN_SYNC
.
sourcepub fn set_drifted_stack_resource_count(self, input: Option<i32>) -> Self
pub fn set_drifted_stack_resource_count(self, input: Option<i32>) -> Self
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE
. This value will be 0 for stacks whose drift status is IN_SYNC
.
sourcepub fn get_drifted_stack_resource_count(&self) -> &Option<i32>
pub fn get_drifted_stack_resource_count(&self) -> &Option<i32>
Total number of stack resources that have drifted. This is NULL until the drift detection operation reaches a status of DETECTION_COMPLETE
. This value will be 0 for stacks whose drift status is IN_SYNC
.
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
Time at which the stack drift detection operation was initiated.
This field is required.sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
Time at which the stack drift detection operation was initiated.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
Time at which the stack drift detection operation was initiated.
sourcepub fn build(self) -> DescribeStackDriftDetectionStatusOutput
pub fn build(self) -> DescribeStackDriftDetectionStatusOutput
Consumes the builder and constructs a DescribeStackDriftDetectionStatusOutput
.
Trait Implementations§
source§impl Clone for DescribeStackDriftDetectionStatusOutputBuilder
impl Clone for DescribeStackDriftDetectionStatusOutputBuilder
source§fn clone(&self) -> DescribeStackDriftDetectionStatusOutputBuilder
fn clone(&self) -> DescribeStackDriftDetectionStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeStackDriftDetectionStatusOutputBuilder
impl Default for DescribeStackDriftDetectionStatusOutputBuilder
source§fn default() -> DescribeStackDriftDetectionStatusOutputBuilder
fn default() -> DescribeStackDriftDetectionStatusOutputBuilder
source§impl PartialEq for DescribeStackDriftDetectionStatusOutputBuilder
impl PartialEq for DescribeStackDriftDetectionStatusOutputBuilder
source§fn eq(&self, other: &DescribeStackDriftDetectionStatusOutputBuilder) -> bool
fn eq(&self, other: &DescribeStackDriftDetectionStatusOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeStackDriftDetectionStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeStackDriftDetectionStatusOutputBuilder
impl RefUnwindSafe for DescribeStackDriftDetectionStatusOutputBuilder
impl Send for DescribeStackDriftDetectionStatusOutputBuilder
impl Sync for DescribeStackDriftDetectionStatusOutputBuilder
impl Unpin for DescribeStackDriftDetectionStatusOutputBuilder
impl UnwindSafe for DescribeStackDriftDetectionStatusOutputBuilder
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