Struct aws_sdk_cloudformation::operation::rollback_stack::builders::RollbackStackInputBuilder
source · #[non_exhaustive]pub struct RollbackStackInputBuilder { /* private fields */ }
Expand description
A builder for RollbackStackInput
.
Implementations§
source§impl RollbackStackInputBuilder
impl RollbackStackInputBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name that's 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 that's associated with the stack.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name that's associated with the stack.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique identifier for this RollbackStack
request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique identifier for this RollbackStack
request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique identifier for this RollbackStack
request.
sourcepub fn retain_except_on_create(self, input: bool) -> Self
pub fn retain_except_on_create(self, input: bool) -> Self
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn set_retain_except_on_create(self, input: Option<bool>) -> Self
pub fn set_retain_except_on_create(self, input: Option<bool>) -> Self
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn get_retain_except_on_create(&self) -> &Option<bool>
pub fn get_retain_except_on_create(&self) -> &Option<bool>
When set to true
, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain
.
Default: false
sourcepub fn build(self) -> Result<RollbackStackInput, BuildError>
pub fn build(self) -> Result<RollbackStackInput, BuildError>
Consumes the builder and constructs a RollbackStackInput
.
source§impl RollbackStackInputBuilder
impl RollbackStackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RollbackStackOutput, SdkError<RollbackStackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RollbackStackOutput, SdkError<RollbackStackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RollbackStackInputBuilder
impl Clone for RollbackStackInputBuilder
source§fn clone(&self) -> RollbackStackInputBuilder
fn clone(&self) -> RollbackStackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RollbackStackInputBuilder
impl Debug for RollbackStackInputBuilder
source§impl Default for RollbackStackInputBuilder
impl Default for RollbackStackInputBuilder
source§fn default() -> RollbackStackInputBuilder
fn default() -> RollbackStackInputBuilder
source§impl PartialEq for RollbackStackInputBuilder
impl PartialEq for RollbackStackInputBuilder
source§fn eq(&self, other: &RollbackStackInputBuilder) -> bool
fn eq(&self, other: &RollbackStackInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.