#[non_exhaustive]pub struct ScheduledQueryRunSummaryBuilder { /* private fields */ }
Expand description
A builder for ScheduledQueryRunSummary
.
Implementations§
source§impl ScheduledQueryRunSummaryBuilder
impl ScheduledQueryRunSummaryBuilder
sourcepub fn invocation_time(self, input: DateTime) -> Self
pub fn invocation_time(self, input: DateTime) -> Self
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime
can be used in the query to get the value.
sourcepub fn set_invocation_time(self, input: Option<DateTime>) -> Self
pub fn set_invocation_time(self, input: Option<DateTime>) -> Self
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime
can be used in the query to get the value.
sourcepub fn get_invocation_time(&self) -> &Option<DateTime>
pub fn get_invocation_time(&self) -> &Option<DateTime>
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter @scheduled_runtime
can be used in the query to get the value.
sourcepub fn trigger_time(self, input: DateTime) -> Self
pub fn trigger_time(self, input: DateTime) -> Self
The actual time when the query was run.
sourcepub fn set_trigger_time(self, input: Option<DateTime>) -> Self
pub fn set_trigger_time(self, input: Option<DateTime>) -> Self
The actual time when the query was run.
sourcepub fn get_trigger_time(&self) -> &Option<DateTime>
pub fn get_trigger_time(&self) -> &Option<DateTime>
The actual time when the query was run.
sourcepub fn run_status(self, input: ScheduledQueryRunStatus) -> Self
pub fn run_status(self, input: ScheduledQueryRunStatus) -> Self
The status of a scheduled query run.
sourcepub fn set_run_status(self, input: Option<ScheduledQueryRunStatus>) -> Self
pub fn set_run_status(self, input: Option<ScheduledQueryRunStatus>) -> Self
The status of a scheduled query run.
sourcepub fn get_run_status(&self) -> &Option<ScheduledQueryRunStatus>
pub fn get_run_status(&self) -> &Option<ScheduledQueryRunStatus>
The status of a scheduled query run.
sourcepub fn execution_stats(self, input: ExecutionStats) -> Self
pub fn execution_stats(self, input: ExecutionStats) -> Self
Runtime statistics for a scheduled run.
sourcepub fn set_execution_stats(self, input: Option<ExecutionStats>) -> Self
pub fn set_execution_stats(self, input: Option<ExecutionStats>) -> Self
Runtime statistics for a scheduled run.
sourcepub fn get_execution_stats(&self) -> &Option<ExecutionStats>
pub fn get_execution_stats(&self) -> &Option<ExecutionStats>
Runtime statistics for a scheduled run.
sourcepub fn error_report_location(self, input: ErrorReportLocation) -> Self
pub fn error_report_location(self, input: ErrorReportLocation) -> Self
S3 location for error report.
sourcepub fn set_error_report_location(
self,
input: Option<ErrorReportLocation>
) -> Self
pub fn set_error_report_location( self, input: Option<ErrorReportLocation> ) -> Self
S3 location for error report.
sourcepub fn get_error_report_location(&self) -> &Option<ErrorReportLocation>
pub fn get_error_report_location(&self) -> &Option<ErrorReportLocation>
S3 location for error report.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
sourcepub fn build(self) -> ScheduledQueryRunSummary
pub fn build(self) -> ScheduledQueryRunSummary
Consumes the builder and constructs a ScheduledQueryRunSummary
.
Trait Implementations§
source§impl Clone for ScheduledQueryRunSummaryBuilder
impl Clone for ScheduledQueryRunSummaryBuilder
source§fn clone(&self) -> ScheduledQueryRunSummaryBuilder
fn clone(&self) -> ScheduledQueryRunSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScheduledQueryRunSummaryBuilder
impl Default for ScheduledQueryRunSummaryBuilder
source§fn default() -> ScheduledQueryRunSummaryBuilder
fn default() -> ScheduledQueryRunSummaryBuilder
source§impl PartialEq for ScheduledQueryRunSummaryBuilder
impl PartialEq for ScheduledQueryRunSummaryBuilder
source§fn eq(&self, other: &ScheduledQueryRunSummaryBuilder) -> bool
fn eq(&self, other: &ScheduledQueryRunSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.