#[non_exhaustive]pub struct ScheduleConfigurationBuilder { /* private fields */ }
Expand description
A builder for ScheduleConfiguration
.
Implementations§
source§impl ScheduleConfigurationBuilder
impl ScheduleConfigurationBuilder
sourcepub fn first_execution_from(self, input: impl Into<String>) -> Self
pub fn first_execution_from(self, input: impl Into<String>) -> Self
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
sourcepub fn set_first_execution_from(self, input: Option<String>) -> Self
pub fn set_first_execution_from(self, input: Option<String>) -> Self
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
sourcepub fn get_first_execution_from(&self) -> &Option<String>
pub fn get_first_execution_from(&self) -> &Option<String>
The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
The name of the object to pull from the data source.
sourcepub fn set_object(self, input: Option<String>) -> Self
pub fn set_object(self, input: Option<String>) -> Self
The name of the object to pull from the data source.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
The name of the object to pull from the data source.
sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
How often the data should be pulled from data source.
This field is required.sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
How often the data should be pulled from data source.
sourcepub fn get_schedule_expression(&self) -> &Option<String>
pub fn get_schedule_expression(&self) -> &Option<String>
How often the data should be pulled from data source.
sourcepub fn build(self) -> Result<ScheduleConfiguration, BuildError>
pub fn build(self) -> Result<ScheduleConfiguration, BuildError>
Consumes the builder and constructs a ScheduleConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ScheduleConfigurationBuilder
impl Clone for ScheduleConfigurationBuilder
source§fn clone(&self) -> ScheduleConfigurationBuilder
fn clone(&self) -> ScheduleConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduleConfigurationBuilder
impl Debug for ScheduleConfigurationBuilder
source§impl Default for ScheduleConfigurationBuilder
impl Default for ScheduleConfigurationBuilder
source§fn default() -> ScheduleConfigurationBuilder
fn default() -> ScheduleConfigurationBuilder
source§impl PartialEq for ScheduleConfigurationBuilder
impl PartialEq for ScheduleConfigurationBuilder
source§fn eq(&self, other: &ScheduleConfigurationBuilder) -> bool
fn eq(&self, other: &ScheduleConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.