Struct aws_sdk_athena::operation::stop_calculation_execution::builders::StopCalculationExecutionOutputBuilder
source · #[non_exhaustive]pub struct StopCalculationExecutionOutputBuilder { /* private fields */ }Expand description
A builder for StopCalculationExecutionOutput.
Implementations§
source§impl StopCalculationExecutionOutputBuilder
impl StopCalculationExecutionOutputBuilder
sourcepub fn state(self, input: CalculationExecutionState) -> Self
pub fn state(self, input: CalculationExecutionState) -> Self
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
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>
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 build(self) -> StopCalculationExecutionOutput
pub fn build(self) -> StopCalculationExecutionOutput
Consumes the builder and constructs a StopCalculationExecutionOutput.
Trait Implementations§
source§impl Clone for StopCalculationExecutionOutputBuilder
impl Clone for StopCalculationExecutionOutputBuilder
source§fn clone(&self) -> StopCalculationExecutionOutputBuilder
fn clone(&self) -> StopCalculationExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StopCalculationExecutionOutputBuilder
impl Default for StopCalculationExecutionOutputBuilder
source§fn default() -> StopCalculationExecutionOutputBuilder
fn default() -> StopCalculationExecutionOutputBuilder
source§impl PartialEq for StopCalculationExecutionOutputBuilder
impl PartialEq for StopCalculationExecutionOutputBuilder
source§fn eq(&self, other: &StopCalculationExecutionOutputBuilder) -> bool
fn eq(&self, other: &StopCalculationExecutionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.