#[non_exhaustive]pub struct ScheduledTriggerPropertiesBuilder { /* private fields */ }
Expand description
A builder for ScheduledTriggerProperties
.
Implementations§
source§impl ScheduledTriggerPropertiesBuilder
impl ScheduledTriggerPropertiesBuilder
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 get_schedule_expression(&self) -> &Option<String>
pub fn get_schedule_expression(&self) -> &Option<String>
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 get_data_pull_mode(&self) -> &Option<DataPullMode>
pub fn get_data_pull_mode(&self) -> &Option<DataPullMode>
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 get_schedule_start_time(&self) -> &Option<DateTime>
pub fn get_schedule_start_time(&self) -> &Option<DateTime>
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 get_schedule_end_time(&self) -> &Option<DateTime>
pub fn get_schedule_end_time(&self) -> &Option<DateTime>
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 get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
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 get_schedule_offset(&self) -> &Option<i64>
pub fn get_schedule_offset(&self) -> &Option<i64>
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 get_first_execution_from(&self) -> &Option<DateTime>
pub fn get_first_execution_from(&self) -> &Option<DateTime>
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 get_flow_error_deactivation_threshold(&self) -> &Option<i32>
pub fn get_flow_error_deactivation_threshold(&self) -> &Option<i32>
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
sourcepub fn build(self) -> Result<ScheduledTriggerProperties, BuildError>
pub fn build(self) -> Result<ScheduledTriggerProperties, BuildError>
Consumes the builder and constructs a ScheduledTriggerProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ScheduledTriggerPropertiesBuilder
impl Clone for ScheduledTriggerPropertiesBuilder
source§fn clone(&self) -> ScheduledTriggerPropertiesBuilder
fn clone(&self) -> ScheduledTriggerPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScheduledTriggerPropertiesBuilder
impl Default for ScheduledTriggerPropertiesBuilder
source§fn default() -> ScheduledTriggerPropertiesBuilder
fn default() -> ScheduledTriggerPropertiesBuilder
source§impl PartialEq for ScheduledTriggerPropertiesBuilder
impl PartialEq for ScheduledTriggerPropertiesBuilder
source§fn eq(&self, other: &ScheduledTriggerPropertiesBuilder) -> bool
fn eq(&self, other: &ScheduledTriggerPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.