#[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
impl StructuralPartialEq for ExecutionTriggerBuilder
Auto Trait Implementations§
impl Freeze for ExecutionTriggerBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more