Struct aws_sdk_cloudformation::types::builders::StackSummaryBuilder
source · #[non_exhaustive]pub struct StackSummaryBuilder { /* private fields */ }
Expand description
A builder for StackSummary
.
Implementations§
source§impl StackSummaryBuilder
impl StackSummaryBuilder
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
Unique stack identifier.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
Unique stack identifier.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name associated with the stack.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name associated with the stack.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name associated with the stack.
sourcepub fn template_description(self, input: impl Into<String>) -> Self
pub fn template_description(self, input: impl Into<String>) -> Self
The template description of the template used to create the stack.
sourcepub fn set_template_description(self, input: Option<String>) -> Self
pub fn set_template_description(self, input: Option<String>) -> Self
The template description of the template used to create the stack.
sourcepub fn get_template_description(&self) -> &Option<String>
pub fn get_template_description(&self) -> &Option<String>
The template description of the template used to create the stack.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the stack was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the stack was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the stack was created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn deletion_time(self, input: DateTime) -> Self
pub fn deletion_time(self, input: DateTime) -> Self
The time the stack was deleted.
sourcepub fn set_deletion_time(self, input: Option<DateTime>) -> Self
pub fn set_deletion_time(self, input: Option<DateTime>) -> Self
The time the stack was deleted.
sourcepub fn get_deletion_time(&self) -> &Option<DateTime>
pub fn get_deletion_time(&self) -> &Option<DateTime>
The time the stack was deleted.
sourcepub fn stack_status(self, input: StackStatus) -> Self
pub fn stack_status(self, input: StackStatus) -> Self
The current status of the stack.
This field is required.sourcepub fn set_stack_status(self, input: Option<StackStatus>) -> Self
pub fn set_stack_status(self, input: Option<StackStatus>) -> Self
The current status of the stack.
sourcepub fn get_stack_status(&self) -> &Option<StackStatus>
pub fn get_stack_status(&self) -> &Option<StackStatus>
The current status of the stack.
sourcepub fn stack_status_reason(self, input: impl Into<String>) -> Self
pub fn stack_status_reason(self, input: impl Into<String>) -> Self
Success/Failure message associated with the stack status.
sourcepub fn set_stack_status_reason(self, input: Option<String>) -> Self
pub fn set_stack_status_reason(self, input: Option<String>) -> Self
Success/Failure message associated with the stack status.
sourcepub fn get_stack_status_reason(&self) -> &Option<String>
pub fn get_stack_status_reason(&self) -> &Option<String>
Success/Failure message associated with the stack status.
sourcepub fn parent_id(self, input: impl Into<String>) -> Self
pub fn parent_id(self, input: impl Into<String>) -> Self
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn set_parent_id(self, input: Option<String>) -> Self
pub fn set_parent_id(self, input: Option<String>) -> Self
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn get_parent_id(&self) -> &Option<String>
pub fn get_parent_id(&self) -> &Option<String>
For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn root_id(self, input: impl Into<String>) -> Self
pub fn root_id(self, input: impl Into<String>) -> Self
For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn set_root_id(self, input: Option<String>) -> Self
pub fn set_root_id(self, input: Option<String>) -> Self
For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn get_root_id(&self) -> &Option<String>
pub fn get_root_id(&self) -> &Option<String>
For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the nested stack ultimately belongs.
For more information, see Working with Nested Stacks in the CloudFormation User Guide.
sourcepub fn drift_information(self, input: StackDriftInformationSummary) -> Self
pub fn drift_information(self, input: StackDriftInformationSummary) -> Self
Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn set_drift_information(
self,
input: Option<StackDriftInformationSummary>
) -> Self
pub fn set_drift_information( self, input: Option<StackDriftInformationSummary> ) -> Self
Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn get_drift_information(&self) -> &Option<StackDriftInformationSummary>
pub fn get_drift_information(&self) -> &Option<StackDriftInformationSummary>
Summarizes information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
sourcepub fn build(self) -> StackSummary
pub fn build(self) -> StackSummary
Consumes the builder and constructs a StackSummary
.
Trait Implementations§
source§impl Clone for StackSummaryBuilder
impl Clone for StackSummaryBuilder
source§fn clone(&self) -> StackSummaryBuilder
fn clone(&self) -> StackSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StackSummaryBuilder
impl Debug for StackSummaryBuilder
source§impl Default for StackSummaryBuilder
impl Default for StackSummaryBuilder
source§fn default() -> StackSummaryBuilder
fn default() -> StackSummaryBuilder
source§impl PartialEq for StackSummaryBuilder
impl PartialEq for StackSummaryBuilder
source§fn eq(&self, other: &StackSummaryBuilder) -> bool
fn eq(&self, other: &StackSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackSummaryBuilder
Auto Trait Implementations§
impl Freeze for StackSummaryBuilder
impl RefUnwindSafe for StackSummaryBuilder
impl Send for StackSummaryBuilder
impl Sync for StackSummaryBuilder
impl Unpin for StackSummaryBuilder
impl UnwindSafe for StackSummaryBuilder
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