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 ==
.