Struct aws_sdk_codedeploy::model::trigger_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TriggerConfig
.
Implementations§
source§impl Builder
impl Builder
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
.