pub struct Builder { /* private fields */ }
Expand description
A builder for AwsCloudFormationStackDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn capabilities(self, input: impl Into<String>) -> Self
pub fn capabilities(self, input: impl Into<String>) -> Self
Appends an item to capabilities
.
To override the contents of this collection use set_capabilities
.
The capabilities allowed in the stack.
sourcepub fn set_capabilities(self, input: Option<Vec<String>>) -> Self
pub fn set_capabilities(self, input: Option<Vec<String>>) -> Self
The capabilities allowed in the stack.
sourcepub fn creation_time(self, input: impl Into<String>) -> Self
pub fn creation_time(self, input: impl Into<String>) -> Self
The time at which the stack was created.
sourcepub fn set_creation_time(self, input: Option<String>) -> Self
pub fn set_creation_time(self, input: Option<String>) -> Self
The time at which the stack was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-defined description associated with the stack.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-defined description associated with the stack.
sourcepub fn disable_rollback(self, input: bool) -> Self
pub fn disable_rollback(self, input: bool) -> Self
Boolean to enable or disable rollback on stack creation failures.
sourcepub fn set_disable_rollback(self, input: Option<bool>) -> Self
pub fn set_disable_rollback(self, input: Option<bool>) -> Self
Boolean to enable or disable rollback on stack creation failures.
sourcepub fn drift_information(
self,
input: AwsCloudFormationStackDriftInformationDetails
) -> Self
pub fn drift_information(
self,
input: AwsCloudFormationStackDriftInformationDetails
) -> Self
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.
sourcepub fn set_drift_information(
self,
input: Option<AwsCloudFormationStackDriftInformationDetails>
) -> Self
pub fn set_drift_information(
self,
input: Option<AwsCloudFormationStackDriftInformationDetails>
) -> Self
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.
sourcepub fn enable_termination_protection(self, input: bool) -> Self
pub fn enable_termination_protection(self, input: bool) -> Self
Whether termination protection is enabled for the stack.
sourcepub fn set_enable_termination_protection(self, input: Option<bool>) -> Self
pub fn set_enable_termination_protection(self, input: Option<bool>) -> Self
Whether termination protection is enabled for the stack.
sourcepub fn last_updated_time(self, input: impl Into<String>) -> Self
pub fn last_updated_time(self, input: impl Into<String>) -> Self
The time the nested 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<String>) -> Self
pub fn set_last_updated_time(self, input: Option<String>) -> Self
The time the nested stack was last updated. This field will only be returned if the stack has been updated at least once.
sourcepub fn notification_arns(self, input: impl Into<String>) -> Self
pub fn notification_arns(self, input: impl Into<String>) -> Self
Appends an item to notification_arns
.
To override the contents of this collection use set_notification_arns
.
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
sourcepub fn set_notification_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_notification_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related events are published.
sourcepub fn outputs(self, input: AwsCloudFormationStackOutputsDetails) -> Self
pub fn outputs(self, input: AwsCloudFormationStackOutputsDetails) -> Self
Appends an item to outputs
.
To override the contents of this collection use set_outputs
.
A list of output structures.
sourcepub fn set_outputs(
self,
input: Option<Vec<AwsCloudFormationStackOutputsDetails>>
) -> Self
pub fn set_outputs(
self,
input: Option<Vec<AwsCloudFormationStackOutputsDetails>>
) -> Self
A list of output structures.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of an IAM role that's associated with the stack.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of an IAM role that's associated with the stack.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
Unique identifier of the stack.
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 stack_status(self, input: impl Into<String>) -> Self
pub fn stack_status(self, input: impl Into<String>) -> Self
Current status of the stack.
sourcepub fn set_stack_status(self, input: Option<String>) -> Self
pub fn set_stack_status(self, input: Option<String>) -> Self
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 or 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 or failure message associated with the stack status.
sourcepub fn timeout_in_minutes(self, input: i32) -> Self
pub fn timeout_in_minutes(self, input: i32) -> Self
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE
state.
sourcepub fn set_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_timeout_in_minutes(self, input: Option<i32>) -> Self
The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE
state.
sourcepub fn build(self) -> AwsCloudFormationStackDetails
pub fn build(self) -> AwsCloudFormationStackDetails
Consumes the builder and constructs a AwsCloudFormationStackDetails
.
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