Struct aws_sdk_codedeploy::types::builders::TriggerConfigBuilder
source · #[non_exhaustive]pub struct TriggerConfigBuilder { /* private fields */ }
Expand description
A builder for TriggerConfig
.
Implementations§
source§impl TriggerConfigBuilder
impl TriggerConfigBuilder
sourcepub fn trigger_name(self, input: impl Into<String>) -> Self
pub fn trigger_name(self, input: impl Into<String>) -> Self
The name of the notification trigger.
sourcepub fn set_trigger_name(self, input: Option<String>) -> Self
pub fn set_trigger_name(self, input: Option<String>) -> Self
The name of the notification trigger.
sourcepub fn get_trigger_name(&self) -> &Option<String>
pub fn get_trigger_name(&self) -> &Option<String>
The name of the notification trigger.
sourcepub fn trigger_target_arn(self, input: impl Into<String>) -> Self
pub fn trigger_target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
sourcepub fn set_trigger_target_arn(self, input: Option<String>) -> Self
pub fn set_trigger_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
sourcepub fn get_trigger_target_arn(&self) -> &Option<String>
pub fn get_trigger_target_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
sourcepub fn trigger_events(self, input: TriggerEventType) -> Self
pub fn trigger_events(self, input: TriggerEventType) -> Self
Appends an item to trigger_events
.
To override the contents of this collection use set_trigger_events
.
The event type or types for which notifications are triggered.
sourcepub fn set_trigger_events(self, input: Option<Vec<TriggerEventType>>) -> Self
pub fn set_trigger_events(self, input: Option<Vec<TriggerEventType>>) -> Self
The event type or types for which notifications are triggered.
sourcepub fn get_trigger_events(&self) -> &Option<Vec<TriggerEventType>>
pub fn get_trigger_events(&self) -> &Option<Vec<TriggerEventType>>
The event type or types for which notifications are triggered.
sourcepub fn build(self) -> TriggerConfig
pub fn build(self) -> TriggerConfig
Consumes the builder and constructs a TriggerConfig
.
Trait Implementations§
source§impl Clone for TriggerConfigBuilder
impl Clone for TriggerConfigBuilder
source§fn clone(&self) -> TriggerConfigBuilder
fn clone(&self) -> TriggerConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TriggerConfigBuilder
impl Debug for TriggerConfigBuilder
source§impl Default for TriggerConfigBuilder
impl Default for TriggerConfigBuilder
source§fn default() -> TriggerConfigBuilder
fn default() -> TriggerConfigBuilder
source§impl PartialEq for TriggerConfigBuilder
impl PartialEq for TriggerConfigBuilder
source§fn eq(&self, other: &TriggerConfigBuilder) -> bool
fn eq(&self, other: &TriggerConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TriggerConfigBuilder
Auto Trait Implementations§
impl Freeze for TriggerConfigBuilder
impl RefUnwindSafe for TriggerConfigBuilder
impl Send for TriggerConfigBuilder
impl Sync for TriggerConfigBuilder
impl Unpin for TriggerConfigBuilder
impl UnwindSafe for TriggerConfigBuilder
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