#[non_exhaustive]pub struct TriggerConfigBuilder { /* private fields */ }
Expand description
A builder for TriggerConfig
.
Implementations§
source§impl TriggerConfigBuilder
impl TriggerConfigBuilder
sourcepub fn trigger_type(self, input: TriggerType) -> Self
pub fn trigger_type(self, input: TriggerType) -> Self
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
This field is required.sourcepub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
pub fn set_trigger_type(self, input: Option<TriggerType>) -> Self
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
sourcepub fn get_trigger_type(&self) -> &Option<TriggerType>
pub fn get_trigger_type(&self) -> &Option<TriggerType>
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
sourcepub fn trigger_properties(self, input: TriggerProperties) -> Self
pub fn trigger_properties(self, input: TriggerProperties) -> Self
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
sourcepub fn set_trigger_properties(self, input: Option<TriggerProperties>) -> Self
pub fn set_trigger_properties(self, input: Option<TriggerProperties>) -> Self
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
sourcepub fn get_trigger_properties(&self) -> &Option<TriggerProperties>
pub fn get_trigger_properties(&self) -> &Option<TriggerProperties>
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
sourcepub fn build(self) -> Result<TriggerConfig, BuildError>
pub fn build(self) -> Result<TriggerConfig, BuildError>
Consumes the builder and constructs a TriggerConfig
.
This method will fail if any of the following fields are not set:
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 ==
.impl StructuralPartialEq for TriggerConfigBuilder
Auto Trait Implementations§
impl Freeze for TriggerConfigBuilder
impl RefUnwindSafe for TriggerConfigBuilder
impl Send for TriggerConfigBuilder
impl Sync for TriggerConfigBuilder
impl Unpin for TriggerConfigBuilder
impl UnwindSafe for TriggerConfigBuilder
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> 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