Struct aws_sdk_athena::types::builders::CalculationStatusBuilder
source · #[non_exhaustive]pub struct CalculationStatusBuilder { /* private fields */ }Expand description
A builder for CalculationStatus.
Implementations§
source§impl CalculationStatusBuilder
impl CalculationStatusBuilder
sourcepub fn submission_date_time(self, input: DateTime) -> Self
pub fn submission_date_time(self, input: DateTime) -> Self
The date and time the calculation was submitted for processing.
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 the calculation was submitted for processing.
sourcepub fn get_submission_date_time(&self) -> &Option<DateTime>
pub fn get_submission_date_time(&self) -> &Option<DateTime>
The date and time the calculation was submitted for processing.
sourcepub fn completion_date_time(self, input: DateTime) -> Self
pub fn completion_date_time(self, input: DateTime) -> Self
The date and time the calculation completed processing.
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 the calculation completed processing.
sourcepub fn get_completion_date_time(&self) -> &Option<DateTime>
pub fn get_completion_date_time(&self) -> &Option<DateTime>
The date and time the calculation completed processing.
sourcepub fn state(self, input: CalculationExecutionState) -> Self
pub fn state(self, input: CalculationExecutionState) -> Self
The state of the calculation execution. A description of each state follows.
CREATING - The calculation is in the process of being created.
CREATED - The calculation has been created and is ready to run.
QUEUED - The calculation has been queued for processing.
RUNNING - The calculation is running.
CANCELING - A request to cancel the calculation has been received and the system is working to stop it.
CANCELED - The calculation is no longer running as the result of a cancel request.
COMPLETED - The calculation has completed without error.
FAILED - The calculation failed and is no longer running.
sourcepub fn set_state(self, input: Option<CalculationExecutionState>) -> Self
pub fn set_state(self, input: Option<CalculationExecutionState>) -> Self
The state of the calculation execution. A description of each state follows.
CREATING - The calculation is in the process of being created.
CREATED - The calculation has been created and is ready to run.
QUEUED - The calculation has been queued for processing.
RUNNING - The calculation is running.
CANCELING - A request to cancel the calculation has been received and the system is working to stop it.
CANCELED - The calculation is no longer running as the result of a cancel request.
COMPLETED - The calculation has completed without error.
FAILED - The calculation failed and is no longer running.
sourcepub fn get_state(&self) -> &Option<CalculationExecutionState>
pub fn get_state(&self) -> &Option<CalculationExecutionState>
The state of the calculation execution. A description of each state follows.
CREATING - The calculation is in the process of being created.
CREATED - The calculation has been created and is ready to run.
QUEUED - The calculation has been queued for processing.
RUNNING - The calculation is running.
CANCELING - A request to cancel the calculation has been received and the system is working to stop it.
CANCELED - The calculation is no longer running as the result of a cancel request.
COMPLETED - The calculation has completed without error.
FAILED - The calculation failed and is no longer running.
sourcepub fn state_change_reason(self, input: impl Into<String>) -> Self
pub fn state_change_reason(self, input: impl Into<String>) -> Self
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
sourcepub fn set_state_change_reason(self, input: Option<String>) -> Self
pub fn set_state_change_reason(self, input: Option<String>) -> Self
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
sourcepub fn get_state_change_reason(&self) -> &Option<String>
pub fn get_state_change_reason(&self) -> &Option<String>
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
sourcepub fn build(self) -> CalculationStatus
pub fn build(self) -> CalculationStatus
Consumes the builder and constructs a CalculationStatus.
Trait Implementations§
source§impl Clone for CalculationStatusBuilder
impl Clone for CalculationStatusBuilder
source§fn clone(&self) -> CalculationStatusBuilder
fn clone(&self) -> CalculationStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CalculationStatusBuilder
impl Debug for CalculationStatusBuilder
source§impl Default for CalculationStatusBuilder
impl Default for CalculationStatusBuilder
source§fn default() -> CalculationStatusBuilder
fn default() -> CalculationStatusBuilder
source§impl PartialEq<CalculationStatusBuilder> for CalculationStatusBuilder
impl PartialEq<CalculationStatusBuilder> for CalculationStatusBuilder
source§fn eq(&self, other: &CalculationStatusBuilder) -> bool
fn eq(&self, other: &CalculationStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.