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