#[non_exhaustive]pub struct ExecutionConfigurationBuilder { /* private fields */ }
Expand description
A builder for ExecutionConfiguration
.
Implementations§
source§impl ExecutionConfigurationBuilder
impl ExecutionConfigurationBuilder
sourcepub fn execution_mode(self, input: ExecutionMode) -> Self
pub fn execution_mode(self, input: ExecutionMode) -> Self
The mode for data import/export execution.
This field is required.sourcepub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
pub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
The mode for data import/export execution.
sourcepub fn get_execution_mode(&self) -> &Option<ExecutionMode>
pub fn get_execution_mode(&self) -> &Option<ExecutionMode>
The mode for data import/export execution.
sourcepub fn on_demand_configuration(self, input: OnDemandConfiguration) -> Self
pub fn on_demand_configuration(self, input: OnDemandConfiguration) -> Self
The start and end time for data pull from the source.
sourcepub fn set_on_demand_configuration(
self,
input: Option<OnDemandConfiguration>,
) -> Self
pub fn set_on_demand_configuration( self, input: Option<OnDemandConfiguration>, ) -> Self
The start and end time for data pull from the source.
sourcepub fn get_on_demand_configuration(&self) -> &Option<OnDemandConfiguration>
pub fn get_on_demand_configuration(&self) -> &Option<OnDemandConfiguration>
The start and end time for data pull from the source.
sourcepub fn schedule_configuration(self, input: ScheduleConfiguration) -> Self
pub fn schedule_configuration(self, input: ScheduleConfiguration) -> Self
The name of the data and how often it should be pulled from the source.
sourcepub fn set_schedule_configuration(
self,
input: Option<ScheduleConfiguration>,
) -> Self
pub fn set_schedule_configuration( self, input: Option<ScheduleConfiguration>, ) -> Self
The name of the data and how often it should be pulled from the source.
sourcepub fn get_schedule_configuration(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule_configuration(&self) -> &Option<ScheduleConfiguration>
The name of the data and how often it should be pulled from the source.
sourcepub fn build(self) -> Result<ExecutionConfiguration, BuildError>
pub fn build(self) -> Result<ExecutionConfiguration, BuildError>
Consumes the builder and constructs a ExecutionConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ExecutionConfigurationBuilder
impl Clone for ExecutionConfigurationBuilder
source§fn clone(&self) -> ExecutionConfigurationBuilder
fn clone(&self) -> ExecutionConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ExecutionConfigurationBuilder
impl Default for ExecutionConfigurationBuilder
source§fn default() -> ExecutionConfigurationBuilder
fn default() -> ExecutionConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExecutionConfigurationBuilder
impl PartialEq for ExecutionConfigurationBuilder
source§fn eq(&self, other: &ExecutionConfigurationBuilder) -> bool
fn eq(&self, other: &ExecutionConfigurationBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExecutionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ExecutionConfigurationBuilder
impl RefUnwindSafe for ExecutionConfigurationBuilder
impl Send for ExecutionConfigurationBuilder
impl Sync for ExecutionConfigurationBuilder
impl Unpin for ExecutionConfigurationBuilder
impl UnwindSafe for ExecutionConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.