Struct aws_sdk_appflow::types::builders::TriggerConfigBuilder
source · #[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. This can be OnDemand
, Scheduled
, or Event
.
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. This 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. This 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 as defined by the user. 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 as defined by the user. 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 as defined by the user. 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 ==
.