Struct aws_sdk_athena::types::builders::QueryExecutionStatusBuilder
source · #[non_exhaustive]pub struct QueryExecutionStatusBuilder { /* private fields */ }Expand description
A builder for QueryExecutionStatus.
Implementations§
source§impl QueryExecutionStatusBuilder
impl QueryExecutionStatusBuilder
sourcepub fn state(self, input: QueryExecutionState) -> Self
pub fn state(self, input: QueryExecutionState) -> Self
The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.
sourcepub fn set_state(self, input: Option<QueryExecutionState>) -> Self
pub fn set_state(self, input: Option<QueryExecutionState>) -> Self
The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.
sourcepub fn get_state(&self) -> &Option<QueryExecutionState>
pub fn get_state(&self) -> &Option<QueryExecutionState>
The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING or FAILED to QUEUED.
sourcepub fn state_change_reason(self, input: impl Into<String>) -> Self
pub fn state_change_reason(self, input: impl Into<String>) -> Self
Further detail about the status of the query.
sourcepub fn set_state_change_reason(self, input: Option<String>) -> Self
pub fn set_state_change_reason(self, input: Option<String>) -> Self
Further detail about the status of the query.
sourcepub fn get_state_change_reason(&self) -> &Option<String>
pub fn get_state_change_reason(&self) -> &Option<String>
Further detail about the status of the query.
sourcepub fn submission_date_time(self, input: DateTime) -> Self
pub fn submission_date_time(self, input: DateTime) -> Self
The date and time that the query was submitted.
sourcepub fn set_submission_date_time(self, input: Option<DateTime>) -> Self
pub fn set_submission_date_time(self, input: Option<DateTime>) -> Self
The date and time that the query was submitted.
sourcepub fn get_submission_date_time(&self) -> &Option<DateTime>
pub fn get_submission_date_time(&self) -> &Option<DateTime>
The date and time that the query was submitted.
sourcepub fn completion_date_time(self, input: DateTime) -> Self
pub fn completion_date_time(self, input: DateTime) -> Self
The date and time that the query completed.
sourcepub fn set_completion_date_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_date_time(self, input: Option<DateTime>) -> Self
The date and time that the query completed.
sourcepub fn get_completion_date_time(&self) -> &Option<DateTime>
pub fn get_completion_date_time(&self) -> &Option<DateTime>
The date and time that the query completed.
sourcepub fn athena_error(self, input: AthenaError) -> Self
pub fn athena_error(self, input: AthenaError) -> Self
Provides information about an Athena query error.
sourcepub fn set_athena_error(self, input: Option<AthenaError>) -> Self
pub fn set_athena_error(self, input: Option<AthenaError>) -> Self
Provides information about an Athena query error.
sourcepub fn get_athena_error(&self) -> &Option<AthenaError>
pub fn get_athena_error(&self) -> &Option<AthenaError>
Provides information about an Athena query error.
sourcepub fn build(self) -> QueryExecutionStatus
pub fn build(self) -> QueryExecutionStatus
Consumes the builder and constructs a QueryExecutionStatus.
Trait Implementations§
source§impl Clone for QueryExecutionStatusBuilder
impl Clone for QueryExecutionStatusBuilder
source§fn clone(&self) -> QueryExecutionStatusBuilder
fn clone(&self) -> QueryExecutionStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for QueryExecutionStatusBuilder
impl Debug for QueryExecutionStatusBuilder
source§impl Default for QueryExecutionStatusBuilder
impl Default for QueryExecutionStatusBuilder
source§fn default() -> QueryExecutionStatusBuilder
fn default() -> QueryExecutionStatusBuilder
source§impl PartialEq for QueryExecutionStatusBuilder
impl PartialEq for QueryExecutionStatusBuilder
source§fn eq(&self, other: &QueryExecutionStatusBuilder) -> bool
fn eq(&self, other: &QueryExecutionStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.