pub struct Builder { /* private fields */ }
Expand description
A builder for AwsCloudFormationStackDetails
.
Implementations§
source§impl 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
.