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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<TriggerConfigBuilder> for TriggerConfigBuilder
impl PartialEq<TriggerConfigBuilder> for TriggerConfigBuilder
source§fn eq(&self, other: &TriggerConfigBuilder) -> bool
fn eq(&self, other: &TriggerConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TriggerConfigBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more