#[non_exhaustive]pub struct ScheduledQueryDescriptionBuilder { /* private fields */ }
Expand description
A builder for ScheduledQueryDescription
.
Implementations§
source§impl ScheduledQueryDescriptionBuilder
impl ScheduledQueryDescriptionBuilder
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The query to be run.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The query to be run.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The query to be run.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
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
Creation time of the scheduled query.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
Creation time of the scheduled query.
sourcepub fn state(self, input: ScheduledQueryState) -> Self
pub fn state(self, input: ScheduledQueryState) -> Self
State of the scheduled query.
sourcepub fn set_state(self, input: Option<ScheduledQueryState>) -> Self
pub fn set_state(self, input: Option<ScheduledQueryState>) -> Self
State of the scheduled query.
sourcepub fn get_state(&self) -> &Option<ScheduledQueryState>
pub fn get_state(&self) -> &Option<ScheduledQueryState>
State of the scheduled query.
sourcepub fn previous_invocation_time(self, input: DateTime) -> Self
pub fn previous_invocation_time(self, input: DateTime) -> Self
Last time the 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
Last time the query was run.
sourcepub fn get_previous_invocation_time(&self) -> &Option<DateTime>
pub fn get_previous_invocation_time(&self) -> &Option<DateTime>
Last time the 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 scheduled to 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 scheduled to 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 scheduled to run.
sourcepub fn schedule_configuration(self, input: ScheduleConfiguration) -> Self
pub fn schedule_configuration(self, input: ScheduleConfiguration) -> Self
Schedule configuration.
sourcepub fn set_schedule_configuration(
self,
input: Option<ScheduleConfiguration>
) -> Self
pub fn set_schedule_configuration( self, input: Option<ScheduleConfiguration> ) -> Self
Schedule configuration.
sourcepub fn get_schedule_configuration(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule_configuration(&self) -> &Option<ScheduleConfiguration>
Schedule configuration.
sourcepub fn notification_configuration(
self,
input: NotificationConfiguration
) -> Self
pub fn notification_configuration( self, input: NotificationConfiguration ) -> Self
Notification configuration.
sourcepub fn set_notification_configuration(
self,
input: Option<NotificationConfiguration>
) -> Self
pub fn set_notification_configuration( self, input: Option<NotificationConfiguration> ) -> Self
Notification configuration.
sourcepub fn get_notification_configuration(
&self
) -> &Option<NotificationConfiguration>
pub fn get_notification_configuration( &self ) -> &Option<NotificationConfiguration>
Notification configuration.
sourcepub fn target_configuration(self, input: TargetConfiguration) -> Self
pub fn target_configuration(self, input: TargetConfiguration) -> Self
Scheduled query target store configuration.
sourcepub fn set_target_configuration(
self,
input: Option<TargetConfiguration>
) -> Self
pub fn set_target_configuration( self, input: Option<TargetConfiguration> ) -> Self
Scheduled query target store configuration.
sourcepub fn get_target_configuration(&self) -> &Option<TargetConfiguration>
pub fn get_target_configuration(&self) -> &Option<TargetConfiguration>
Scheduled query target store configuration.
sourcepub fn scheduled_query_execution_role_arn(
self,
input: impl Into<String>
) -> Self
pub fn scheduled_query_execution_role_arn( self, input: impl Into<String> ) -> Self
IAM role that Timestream uses to run the schedule query.
sourcepub fn set_scheduled_query_execution_role_arn(
self,
input: Option<String>
) -> Self
pub fn set_scheduled_query_execution_role_arn( self, input: Option<String> ) -> Self
IAM role that Timestream uses to run the schedule query.
sourcepub fn get_scheduled_query_execution_role_arn(&self) -> &Option<String>
pub fn get_scheduled_query_execution_role_arn(&self) -> &Option<String>
IAM role that Timestream uses to run the schedule query.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
A customer provided KMS key used to encrypt the scheduled query resource.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
A customer provided KMS key used to encrypt the scheduled query resource.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
A customer provided KMS key used to encrypt the scheduled query resource.
sourcepub fn error_report_configuration(self, input: ErrorReportConfiguration) -> Self
pub fn error_report_configuration(self, input: ErrorReportConfiguration) -> Self
Error-reporting configuration for the scheduled query.
sourcepub fn set_error_report_configuration(
self,
input: Option<ErrorReportConfiguration>
) -> Self
pub fn set_error_report_configuration( self, input: Option<ErrorReportConfiguration> ) -> Self
Error-reporting configuration for the scheduled query.
sourcepub fn get_error_report_configuration(
&self
) -> &Option<ErrorReportConfiguration>
pub fn get_error_report_configuration( &self ) -> &Option<ErrorReportConfiguration>
Error-reporting configuration for the scheduled query.
sourcepub fn last_run_summary(self, input: ScheduledQueryRunSummary) -> Self
pub fn last_run_summary(self, input: ScheduledQueryRunSummary) -> Self
Runtime summary for the last scheduled query run.
sourcepub fn set_last_run_summary(
self,
input: Option<ScheduledQueryRunSummary>
) -> Self
pub fn set_last_run_summary( self, input: Option<ScheduledQueryRunSummary> ) -> Self
Runtime summary for the last scheduled query run.
sourcepub fn get_last_run_summary(&self) -> &Option<ScheduledQueryRunSummary>
pub fn get_last_run_summary(&self) -> &Option<ScheduledQueryRunSummary>
Runtime summary for the last scheduled query run.
sourcepub fn recently_failed_runs(self, input: ScheduledQueryRunSummary) -> Self
pub fn recently_failed_runs(self, input: ScheduledQueryRunSummary) -> Self
Appends an item to recently_failed_runs
.
To override the contents of this collection use set_recently_failed_runs
.
Runtime summary for the last five failed scheduled query runs.
sourcepub fn set_recently_failed_runs(
self,
input: Option<Vec<ScheduledQueryRunSummary>>
) -> Self
pub fn set_recently_failed_runs( self, input: Option<Vec<ScheduledQueryRunSummary>> ) -> Self
Runtime summary for the last five failed scheduled query runs.
sourcepub fn get_recently_failed_runs(&self) -> &Option<Vec<ScheduledQueryRunSummary>>
pub fn get_recently_failed_runs(&self) -> &Option<Vec<ScheduledQueryRunSummary>>
Runtime summary for the last five failed scheduled query runs.
sourcepub fn build(self) -> ScheduledQueryDescription
pub fn build(self) -> ScheduledQueryDescription
Consumes the builder and constructs a ScheduledQueryDescription
.
Trait Implementations§
source§impl Clone for ScheduledQueryDescriptionBuilder
impl Clone for ScheduledQueryDescriptionBuilder
source§fn clone(&self) -> ScheduledQueryDescriptionBuilder
fn clone(&self) -> ScheduledQueryDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScheduledQueryDescriptionBuilder
impl Default for ScheduledQueryDescriptionBuilder
source§fn default() -> ScheduledQueryDescriptionBuilder
fn default() -> ScheduledQueryDescriptionBuilder
source§impl PartialEq for ScheduledQueryDescriptionBuilder
impl PartialEq for ScheduledQueryDescriptionBuilder
source§fn eq(&self, other: &ScheduledQueryDescriptionBuilder) -> bool
fn eq(&self, other: &ScheduledQueryDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.