Struct aws_sdk_appflow::model::scheduled_trigger_properties::Builder
source · [−]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.