#[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 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 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
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 ExecutionTriggerBuilder
impl Debug for ExecutionTriggerBuilder
source§impl Default for ExecutionTriggerBuilder
impl Default for ExecutionTriggerBuilder
source§fn default() -> ExecutionTriggerBuilder
fn default() -> ExecutionTriggerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ExecutionTriggerBuilder> for ExecutionTriggerBuilder
impl PartialEq<ExecutionTriggerBuilder> for ExecutionTriggerBuilder
source§fn eq(&self, other: &ExecutionTriggerBuilder) -> bool
fn eq(&self, other: &ExecutionTriggerBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExecutionTriggerBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExecutionTriggerBuilder
impl Send for ExecutionTriggerBuilder
impl Sync for ExecutionTriggerBuilder
impl Unpin for ExecutionTriggerBuilder
impl UnwindSafe for ExecutionTriggerBuilder
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