Struct aws_sdk_appflow::model::scheduled_trigger_properties::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ScheduledTriggerProperties
Implementations
sourceimpl Builder
impl Builder
sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes)
.
sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes)
.
sourcepub fn data_pull_mode(self, input: DataPullMode) -> Self
pub fn data_pull_mode(self, input: DataPullMode) -> Self
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
sourcepub fn set_data_pull_mode(self, input: Option<DataPullMode>) -> Self
pub fn set_data_pull_mode(self, input: Option<DataPullMode>) -> Self
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
sourcepub fn schedule_start_time(self, input: DateTime) -> Self
pub fn schedule_start_time(self, input: DateTime) -> Self
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00
.
sourcepub fn set_schedule_start_time(self, input: Option<DateTime>) -> Self
pub fn set_schedule_start_time(self, input: Option<DateTime>) -> Self
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00
.
sourcepub fn schedule_end_time(self, input: DateTime) -> Self
pub fn schedule_end_time(self, input: DateTime) -> Self
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00
.
sourcepub fn set_schedule_end_time(self, input: Option<DateTime>) -> Self
pub fn set_schedule_end_time(self, input: Option<DateTime>) -> Self
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00
.
sourcepub fn timezone(self, input: impl Into<String>) -> Self
pub fn timezone(self, input: impl Into<String>) -> Self
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone are -04:00
EDT and -05:00 EST
.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone are -04:00
EDT and -05:00 EST
.
sourcepub fn schedule_offset(self, input: i64) -> Self
pub fn schedule_offset(self, input: i64) -> Self
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
sourcepub fn set_schedule_offset(self, input: Option<i64>) -> Self
pub fn set_schedule_offset(self, input: Option<i64>) -> Self
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
sourcepub fn first_execution_from(self, input: DateTime) -> Self
pub fn first_execution_from(self, input: DateTime) -> Self
Specifies the date range for the records to import from the connector in the first flow run.
sourcepub fn set_first_execution_from(self, input: Option<DateTime>) -> Self
pub fn set_first_execution_from(self, input: Option<DateTime>) -> Self
Specifies the date range for the records to import from the connector in the first flow run.
sourcepub fn flow_error_deactivation_threshold(self, input: i32) -> Self
pub fn flow_error_deactivation_threshold(self, input: i32) -> Self
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
sourcepub fn set_flow_error_deactivation_threshold(self, input: Option<i32>) -> Self
pub fn set_flow_error_deactivation_threshold(self, input: Option<i32>) -> Self
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
sourcepub fn build(self) -> ScheduledTriggerProperties
pub fn build(self) -> ScheduledTriggerProperties
Consumes the builder and constructs a ScheduledTriggerProperties
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more