#[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 (5 minutes).
This field is required.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 (5 minutes).
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 (5 minutes).
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
Specifies the scheduled start time for a scheduled-trigger flow.
sourcepub fn set_schedule_start_time(self, input: Option<DateTime>) -> Self
pub fn set_schedule_start_time(self, input: Option<DateTime>) -> Self
Specifies the scheduled start time for a scheduled-trigger flow.
sourcepub fn get_schedule_start_time(&self) -> &Option<DateTime>
pub fn get_schedule_start_time(&self) -> &Option<DateTime>
Specifies the scheduled start time for a scheduled-trigger flow.
sourcepub fn schedule_end_time(self, input: DateTime) -> Self
pub fn schedule_end_time(self, input: DateTime) -> Self
Specifies the scheduled end time for a scheduled-trigger flow.
sourcepub fn set_schedule_end_time(self, input: Option<DateTime>) -> Self
pub fn set_schedule_end_time(self, input: Option<DateTime>) -> Self
Specifies the scheduled end time for a scheduled-trigger flow.
sourcepub fn get_schedule_end_time(&self) -> &Option<DateTime>
pub fn get_schedule_end_time(&self) -> &Option<DateTime>
Specifies the scheduled end time for a scheduled-trigger flow.
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 date and time of a scheduled-triggered flow, such as America/New_York.
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 date and time of a scheduled-triggered flow, such as America/New_York.
sourcepub fn get_timezone(&self) -> &Option<String>
pub fn get_timezone(&self) -> &Option<String>
Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.
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 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 ==
.impl StructuralPartialEq for ScheduledTriggerPropertiesBuilder
Auto Trait Implementations§
impl Freeze for ScheduledTriggerPropertiesBuilder
impl RefUnwindSafe for ScheduledTriggerPropertiesBuilder
impl Send for ScheduledTriggerPropertiesBuilder
impl Sync for ScheduledTriggerPropertiesBuilder
impl Unpin for ScheduledTriggerPropertiesBuilder
impl UnwindSafe for ScheduledTriggerPropertiesBuilder
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