Struct aws_sdk_cloudformation::model::stack_summary::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for StackSummary
Implementations
sourceimpl Builder
impl Builder
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 stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name associated with the stack.
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 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 creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the stack was created.
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 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 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 stack_status(self, input: StackStatus) -> Self
pub fn stack_status(self, input: StackStatus) -> Self
The current status of the stack.
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 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 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 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 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 it's 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 it's 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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more