#[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 ==
.impl StructuralPartialEq for RollbackTriggerBuilder
Auto Trait Implementations§
impl Freeze for RollbackTriggerBuilder
impl RefUnwindSafe for RollbackTriggerBuilder
impl Send for RollbackTriggerBuilder
impl Sync for RollbackTriggerBuilder
impl Unpin for RollbackTriggerBuilder
impl UnwindSafe for RollbackTriggerBuilder
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