#[non_exhaustive]pub struct ScheduledQueryBuilder { /* private fields */ }
Expand description
A builder for ScheduledQuery
.
Implementations§
source§impl ScheduledQueryBuilder
impl ScheduledQueryBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time of the scheduled query.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The creation time of the scheduled query.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The creation time of the scheduled query.
sourcepub fn state(self, input: ScheduledQueryState) -> Self
pub fn state(self, input: ScheduledQueryState) -> Self
State of scheduled query.
sourcepub fn set_state(self, input: Option<ScheduledQueryState>) -> Self
pub fn set_state(self, input: Option<ScheduledQueryState>) -> Self
State of scheduled query.
sourcepub fn get_state(&self) -> &Option<ScheduledQueryState>
pub fn get_state(&self) -> &Option<ScheduledQueryState>
State of scheduled query.
sourcepub fn previous_invocation_time(self, input: DateTime) -> Self
pub fn previous_invocation_time(self, input: DateTime) -> Self
The last time the scheduled query was run.
sourcepub fn set_previous_invocation_time(self, input: Option<DateTime>) -> Self
pub fn set_previous_invocation_time(self, input: Option<DateTime>) -> Self
The last time the scheduled query was run.
sourcepub fn get_previous_invocation_time(&self) -> &Option<DateTime>
pub fn get_previous_invocation_time(&self) -> &Option<DateTime>
The last time the scheduled query was run.
sourcepub fn next_invocation_time(self, input: DateTime) -> Self
pub fn next_invocation_time(self, input: DateTime) -> Self
The next time the scheduled query is to be run.
sourcepub fn set_next_invocation_time(self, input: Option<DateTime>) -> Self
pub fn set_next_invocation_time(self, input: Option<DateTime>) -> Self
The next time the scheduled query is to be run.
sourcepub fn get_next_invocation_time(&self) -> &Option<DateTime>
pub fn get_next_invocation_time(&self) -> &Option<DateTime>
The next time the scheduled query is to be run.
sourcepub fn error_report_configuration(self, input: ErrorReportConfiguration) -> Self
pub fn error_report_configuration(self, input: ErrorReportConfiguration) -> Self
Configuration for scheduled query error reporting.
sourcepub fn set_error_report_configuration(
self,
input: Option<ErrorReportConfiguration>
) -> Self
pub fn set_error_report_configuration( self, input: Option<ErrorReportConfiguration> ) -> Self
Configuration for scheduled query error reporting.
sourcepub fn get_error_report_configuration(
&self
) -> &Option<ErrorReportConfiguration>
pub fn get_error_report_configuration( &self ) -> &Option<ErrorReportConfiguration>
Configuration for scheduled query error reporting.
sourcepub fn target_destination(self, input: TargetDestination) -> Self
pub fn target_destination(self, input: TargetDestination) -> Self
Target data source where final scheduled query result will be written.
sourcepub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
pub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
Target data source where final scheduled query result will be written.
sourcepub fn get_target_destination(&self) -> &Option<TargetDestination>
pub fn get_target_destination(&self) -> &Option<TargetDestination>
Target data source where final scheduled query result will be written.
sourcepub fn last_run_status(self, input: ScheduledQueryRunStatus) -> Self
pub fn last_run_status(self, input: ScheduledQueryRunStatus) -> Self
Status of the last scheduled query run.
sourcepub fn set_last_run_status(self, input: Option<ScheduledQueryRunStatus>) -> Self
pub fn set_last_run_status(self, input: Option<ScheduledQueryRunStatus>) -> Self
Status of the last scheduled query run.
sourcepub fn get_last_run_status(&self) -> &Option<ScheduledQueryRunStatus>
pub fn get_last_run_status(&self) -> &Option<ScheduledQueryRunStatus>
Status of the last scheduled query run.
sourcepub fn build(self) -> ScheduledQuery
pub fn build(self) -> ScheduledQuery
Consumes the builder and constructs a ScheduledQuery
.
Trait Implementations§
source§impl Clone for ScheduledQueryBuilder
impl Clone for ScheduledQueryBuilder
source§fn clone(&self) -> ScheduledQueryBuilder
fn clone(&self) -> ScheduledQueryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduledQueryBuilder
impl Debug for ScheduledQueryBuilder
source§impl Default for ScheduledQueryBuilder
impl Default for ScheduledQueryBuilder
source§fn default() -> ScheduledQueryBuilder
fn default() -> ScheduledQueryBuilder
source§impl PartialEq<ScheduledQueryBuilder> for ScheduledQueryBuilder
impl PartialEq<ScheduledQueryBuilder> for ScheduledQueryBuilder
source§fn eq(&self, other: &ScheduledQueryBuilder) -> bool
fn eq(&self, other: &ScheduledQueryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.