#[non_exhaustive]pub struct ExecutionTriggerBuilder { /* private fields */ }
Expand description
A builder for ExecutionTrigger
.
Implementations§
source§impl ExecutionTriggerBuilder
impl ExecutionTriggerBuilder
sourcepub fn trigger_type(self, input: TriggerType) -> Self
pub fn trigger_type(self, input: TriggerType) -> Self
The type of change-detection method, command, or user interaction that started a pipeline execution.
sourcepub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
pub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
The type of change-detection method, command, or user interaction that started a pipeline execution.
sourcepub fn get_trigger_type(&self) -> &Option<TriggerType>
pub fn get_trigger_type(&self) -> &Option<TriggerType>
The type of change-detection method, command, or user interaction that started a pipeline execution.
sourcepub fn trigger_detail(self, input: impl Into<String>) -> Self
pub fn trigger_detail(self, input: impl Into<String>) -> Self
Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution
CLI command.
sourcepub fn set_trigger_detail(self, input: Option<String>) -> Self
pub fn set_trigger_detail(self, input: Option<String>) -> Self
Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution
CLI command.
sourcepub fn get_trigger_detail(&self) -> &Option<String>
pub fn get_trigger_detail(&self) -> &Option<String>
Detail related to the event that started a pipeline execution, such as the webhook ARN of the webhook that triggered the pipeline execution or the user ARN for a user-initiated start-pipeline-execution
CLI command.
sourcepub fn build(self) -> ExecutionTrigger
pub fn build(self) -> ExecutionTrigger
Consumes the builder and constructs a ExecutionTrigger
.
Trait Implementations§
source§impl Clone for ExecutionTriggerBuilder
impl Clone for ExecutionTriggerBuilder
source§fn clone(&self) -> ExecutionTriggerBuilder
fn clone(&self) -> ExecutionTriggerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionTriggerBuilder
impl Debug for ExecutionTriggerBuilder
source§impl Default for ExecutionTriggerBuilder
impl Default for ExecutionTriggerBuilder
source§fn default() -> ExecutionTriggerBuilder
fn default() -> ExecutionTriggerBuilder
source§impl PartialEq for ExecutionTriggerBuilder
impl PartialEq for ExecutionTriggerBuilder
source§fn eq(&self, other: &ExecutionTriggerBuilder) -> bool
fn eq(&self, other: &ExecutionTriggerBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.