#[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 ==
.impl StructuralPartialEq for ScheduleConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ScheduleConfigurationBuilder
impl RefUnwindSafe for ScheduleConfigurationBuilder
impl Send for ScheduleConfigurationBuilder
impl Sync for ScheduleConfigurationBuilder
impl Unpin for ScheduleConfigurationBuilder
impl UnwindSafe for ScheduleConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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