#[non_exhaustive]pub struct ScheduleConfigurationBuilder { /* private fields */ }
Expand description
A builder for ScheduleConfiguration
.
Implementations§
source§impl ScheduleConfigurationBuilder
impl ScheduleConfigurationBuilder
sourcepub fn schedule_expression(self, input: impl Into<String>) -> Self
pub fn schedule_expression(self, input: impl Into<String>) -> Self
An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
This field is required.sourcepub fn set_schedule_expression(self, input: Option<String>) -> Self
pub fn set_schedule_expression(self, input: Option<String>) -> Self
An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
sourcepub fn get_schedule_expression(&self) -> &Option<String>
pub fn get_schedule_expression(&self) -> &Option<String>
An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression.
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
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 Debug for ScheduleConfigurationBuilder
impl Debug for ScheduleConfigurationBuilder
source§impl Default for ScheduleConfigurationBuilder
impl Default for ScheduleConfigurationBuilder
source§fn default() -> ScheduleConfigurationBuilder
fn default() -> ScheduleConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScheduleConfigurationBuilder
impl PartialEq for ScheduleConfigurationBuilder
source§fn eq(&self, other: &ScheduleConfigurationBuilder) -> bool
fn eq(&self, other: &ScheduleConfigurationBuilder) -> bool
This method tests for
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.