Struct aws_sdk_cloudformation::operation::describe_change_set::builders::DescribeChangeSetOutputBuilder
source · #[non_exhaustive]pub struct DescribeChangeSetOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeChangeSetOutput
.
Implementations§
source§impl DescribeChangeSetOutputBuilder
impl DescribeChangeSetOutputBuilder
sourcepub fn change_set_name(self, input: impl Into<String>) -> Self
pub fn change_set_name(self, input: impl Into<String>) -> Self
The name of the change set.
sourcepub fn set_change_set_name(self, input: Option<String>) -> Self
pub fn set_change_set_name(self, input: Option<String>) -> Self
The name of the change set.
sourcepub fn get_change_set_name(&self) -> &Option<String>
pub fn get_change_set_name(&self) -> &Option<String>
The name of the change set.
sourcepub fn change_set_id(self, input: impl Into<String>) -> Self
pub fn change_set_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the change set.
sourcepub fn set_change_set_id(self, input: Option<String>) -> Self
pub fn set_change_set_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the change set.
sourcepub fn get_change_set_id(&self) -> &Option<String>
pub fn get_change_set_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the change set.
sourcepub fn stack_id(self, input: impl Into<String>) -> Self
pub fn stack_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the stack that's associated with the change set.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack that's associated with the change set.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack that's associated with the change set.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack that's associated with the change set.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Information about the change set.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Information about the change set.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Information about the change set.
sourcepub fn parameters(self, input: Parameter) -> Self
pub fn parameters(self, input: Parameter) -> Self
Appends an item to parameters
.
To override the contents of this collection use set_parameters
.
A list of Parameter
structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
A list of Parameter
structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &Option<Vec<Parameter>>
A list of Parameter
structures that describes the input parameters and their values used to create the change set. For more information, see the Parameter data type.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The start time when the change set was created, in UTC.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The start time when the change set was created, in UTC.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The start time when the change set was created, in UTC.
sourcepub fn execution_status(self, input: ExecutionStatus) -> Self
pub fn execution_status(self, input: ExecutionStatus) -> Self
If the change set execution status is AVAILABLE
, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE
state because CloudFormation is still creating it or in an OBSOLETE
state because the stack was already updated.
sourcepub fn set_execution_status(self, input: Option<ExecutionStatus>) -> Self
pub fn set_execution_status(self, input: Option<ExecutionStatus>) -> Self
If the change set execution status is AVAILABLE
, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE
state because CloudFormation is still creating it or in an OBSOLETE
state because the stack was already updated.
sourcepub fn get_execution_status(&self) -> &Option<ExecutionStatus>
pub fn get_execution_status(&self) -> &Option<ExecutionStatus>
If the change set execution status is AVAILABLE
, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE
state because CloudFormation is still creating it or in an OBSOLETE
state because the stack was already updated.
sourcepub fn status(self, input: ChangeSetStatus) -> Self
pub fn status(self, input: ChangeSetStatus) -> Self
The current status of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or FAILED
.
sourcepub fn set_status(self, input: Option<ChangeSetStatus>) -> Self
pub fn set_status(self, input: Option<ChangeSetStatus>) -> Self
The current status of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or FAILED
.
sourcepub fn get_status(&self) -> &Option<ChangeSetStatus>
pub fn get_status(&self) -> &Option<ChangeSetStatus>
The current status of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
, or FAILED
.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
A description of the change set's status. For example, if your attempt to create a change set failed, CloudFormation shows the error message.
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 ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
sourcepub fn set_notification_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_notification_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
sourcepub fn get_notification_arns(&self) -> &Option<Vec<String>>
pub fn get_notification_arns(&self) -> &Option<Vec<String>>
The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set.
sourcepub fn rollback_configuration(self, input: RollbackConfiguration) -> Self
pub fn rollback_configuration(self, input: RollbackConfiguration) -> Self
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
sourcepub fn set_rollback_configuration(
self,
input: Option<RollbackConfiguration>
) -> Self
pub fn set_rollback_configuration( self, input: Option<RollbackConfiguration> ) -> Self
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
sourcepub fn get_rollback_configuration(&self) -> &Option<RollbackConfiguration>
pub fn get_rollback_configuration(&self) -> &Option<RollbackConfiguration>
The rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.
sourcepub fn capabilities(self, input: Capability) -> Self
pub fn capabilities(self, input: Capability) -> Self
Appends an item to capabilities
.
To override the contents of this collection use set_capabilities
.
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
sourcepub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
pub fn set_capabilities(self, input: Option<Vec<Capability>>) -> Self
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
sourcepub fn get_capabilities(&self) -> &Option<Vec<Capability>>
pub fn get_capabilities(&self) -> &Option<Vec<Capability>>
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
If you execute the change set, the tags that will be associated with the stack.
If you execute the change set, the tags that will be associated with the stack.
If you execute the change set, the tags that will be associated with the stack.
sourcepub fn changes(self, input: Change) -> Self
pub fn changes(self, input: Change) -> Self
Appends an item to changes
.
To override the contents of this collection use set_changes
.
A list of Change
structures that describes the resources CloudFormation changes if you execute the change set.
sourcepub fn set_changes(self, input: Option<Vec<Change>>) -> Self
pub fn set_changes(self, input: Option<Vec<Change>>) -> Self
A list of Change
structures that describes the resources CloudFormation changes if you execute the change set.
sourcepub fn get_changes(&self) -> &Option<Vec<Change>>
pub fn get_changes(&self) -> &Option<Vec<Change>>
A list of Change
structures that describes the resources CloudFormation changes if you execute the change set.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null.
sourcepub fn include_nested_stacks(self, input: bool) -> Self
pub fn include_nested_stacks(self, input: bool) -> Self
Verifies if IncludeNestedStacks
is set to True
.
sourcepub fn set_include_nested_stacks(self, input: Option<bool>) -> Self
pub fn set_include_nested_stacks(self, input: Option<bool>) -> Self
Verifies if IncludeNestedStacks
is set to True
.
sourcepub fn get_include_nested_stacks(&self) -> &Option<bool>
pub fn get_include_nested_stacks(&self) -> &Option<bool>
Verifies if IncludeNestedStacks
is set to True
.
sourcepub fn parent_change_set_id(self, input: impl Into<String>) -> Self
pub fn parent_change_set_id(self, input: impl Into<String>) -> Self
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
sourcepub fn set_parent_change_set_id(self, input: Option<String>) -> Self
pub fn set_parent_change_set_id(self, input: Option<String>) -> Self
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
sourcepub fn get_parent_change_set_id(&self) -> &Option<String>
pub fn get_parent_change_set_id(&self) -> &Option<String>
Specifies the change set ID of the parent change set in the current nested change set hierarchy.
sourcepub fn root_change_set_id(self, input: impl Into<String>) -> Self
pub fn root_change_set_id(self, input: impl Into<String>) -> Self
Specifies the change set ID of the root change set in the current nested change set hierarchy.
sourcepub fn set_root_change_set_id(self, input: Option<String>) -> Self
pub fn set_root_change_set_id(self, input: Option<String>) -> Self
Specifies the change set ID of the root change set in the current nested change set hierarchy.
sourcepub fn get_root_change_set_id(&self) -> &Option<String>
pub fn get_root_change_set_id(&self) -> &Option<String>
Specifies the change set ID of the root change set in the current nested change set hierarchy.
sourcepub fn on_stack_failure(self, input: OnStackFailure) -> Self
pub fn on_stack_failure(self, input: OnStackFailure) -> Self
Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:
-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
sourcepub fn set_on_stack_failure(self, input: Option<OnStackFailure>) -> Self
pub fn set_on_stack_failure(self, input: Option<OnStackFailure>) -> Self
Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:
-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
sourcepub fn get_on_stack_failure(&self) -> &Option<OnStackFailure>
pub fn get_on_stack_failure(&self) -> &Option<OnStackFailure>
Determines what action will be taken if stack creation fails. When this parameter is specified, the DisableRollback
parameter to the ExecuteChangeSet API operation must not be specified. This must be one of these values:
-
DELETE
- Deletes the change set if the stack creation fails. This is only valid when theChangeSetType
parameter is set toCREATE
. If the deletion of the stack fails, the status of the stack isDELETE_FAILED
. -
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent to specifyingtrue
for theDisableRollback
parameter to the ExecuteChangeSet API operation. -
ROLLBACK
- if the stack creation fails, roll back the stack. This is equivalent to specifyingfalse
for theDisableRollback
parameter to the ExecuteChangeSet API operation.
sourcepub fn import_existing_resources(self, input: bool) -> Self
pub fn import_existing_resources(self, input: bool) -> Self
Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
sourcepub fn set_import_existing_resources(self, input: Option<bool>) -> Self
pub fn set_import_existing_resources(self, input: Option<bool>) -> Self
Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
sourcepub fn get_import_existing_resources(&self) -> &Option<bool>
pub fn get_import_existing_resources(&self) -> &Option<bool>
Indicates if the change set imports resources that already exist.
This parameter can only import resources that have custom names in templates. To import resources that do not accept custom names, such as EC2 instances, use the resource import feature instead.
sourcepub fn build(self) -> DescribeChangeSetOutput
pub fn build(self) -> DescribeChangeSetOutput
Consumes the builder and constructs a DescribeChangeSetOutput
.
Trait Implementations§
source§impl Clone for DescribeChangeSetOutputBuilder
impl Clone for DescribeChangeSetOutputBuilder
source§fn clone(&self) -> DescribeChangeSetOutputBuilder
fn clone(&self) -> DescribeChangeSetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeChangeSetOutputBuilder
impl Default for DescribeChangeSetOutputBuilder
source§fn default() -> DescribeChangeSetOutputBuilder
fn default() -> DescribeChangeSetOutputBuilder
source§impl PartialEq for DescribeChangeSetOutputBuilder
impl PartialEq for DescribeChangeSetOutputBuilder
source§fn eq(&self, other: &DescribeChangeSetOutputBuilder) -> bool
fn eq(&self, other: &DescribeChangeSetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeChangeSetOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeChangeSetOutputBuilder
impl RefUnwindSafe for DescribeChangeSetOutputBuilder
impl Send for DescribeChangeSetOutputBuilder
impl Sync for DescribeChangeSetOutputBuilder
impl Unpin for DescribeChangeSetOutputBuilder
impl UnwindSafe for DescribeChangeSetOutputBuilder
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