#[non_exhaustive]pub struct RollbackTriggerBuilder { /* private fields */ }
Expand description
A builder for RollbackTrigger
.
Implementations§
source§impl RollbackTriggerBuilder
impl RollbackTriggerBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the rollback trigger.
If a specified trigger is missing, the entire stack operation fails and is rolled back.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
This field is required.sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.
sourcepub fn build(self) -> RollbackTrigger
pub fn build(self) -> RollbackTrigger
Consumes the builder and constructs a RollbackTrigger
.
Trait Implementations§
source§impl Clone for RollbackTriggerBuilder
impl Clone for RollbackTriggerBuilder
source§fn clone(&self) -> RollbackTriggerBuilder
fn clone(&self) -> RollbackTriggerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RollbackTriggerBuilder
impl Debug for RollbackTriggerBuilder
source§impl Default for RollbackTriggerBuilder
impl Default for RollbackTriggerBuilder
source§fn default() -> RollbackTriggerBuilder
fn default() -> RollbackTriggerBuilder
source§impl PartialEq for RollbackTriggerBuilder
impl PartialEq for RollbackTriggerBuilder
source§fn eq(&self, other: &RollbackTriggerBuilder) -> bool
fn eq(&self, other: &RollbackTriggerBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.