Struct aws_sdk_athena::operation::start_calculation_execution::builders::StartCalculationExecutionOutputBuilder
source · #[non_exhaustive]pub struct StartCalculationExecutionOutputBuilder { /* private fields */ }Expand description
A builder for StartCalculationExecutionOutput.
Implementations§
source§impl StartCalculationExecutionOutputBuilder
impl StartCalculationExecutionOutputBuilder
sourcepub fn calculation_execution_id(self, input: impl Into<String>) -> Self
pub fn calculation_execution_id(self, input: impl Into<String>) -> Self
The calculation execution UUID.
sourcepub fn set_calculation_execution_id(self, input: Option<String>) -> Self
pub fn set_calculation_execution_id(self, input: Option<String>) -> Self
The calculation execution UUID.
sourcepub fn get_calculation_execution_id(&self) -> &Option<String>
pub fn get_calculation_execution_id(&self) -> &Option<String>
The calculation execution UUID.
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) -> StartCalculationExecutionOutput
pub fn build(self) -> StartCalculationExecutionOutput
Consumes the builder and constructs a StartCalculationExecutionOutput.
Trait Implementations§
source§impl Clone for StartCalculationExecutionOutputBuilder
impl Clone for StartCalculationExecutionOutputBuilder
source§fn clone(&self) -> StartCalculationExecutionOutputBuilder
fn clone(&self) -> StartCalculationExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartCalculationExecutionOutputBuilder
impl Default for StartCalculationExecutionOutputBuilder
source§fn default() -> StartCalculationExecutionOutputBuilder
fn default() -> StartCalculationExecutionOutputBuilder
source§impl PartialEq for StartCalculationExecutionOutputBuilder
impl PartialEq for StartCalculationExecutionOutputBuilder
source§fn eq(&self, other: &StartCalculationExecutionOutputBuilder) -> bool
fn eq(&self, other: &StartCalculationExecutionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartCalculationExecutionOutputBuilder
Auto Trait Implementations§
impl Freeze for StartCalculationExecutionOutputBuilder
impl RefUnwindSafe for StartCalculationExecutionOutputBuilder
impl Send for StartCalculationExecutionOutputBuilder
impl Sync for StartCalculationExecutionOutputBuilder
impl Unpin for StartCalculationExecutionOutputBuilder
impl UnwindSafe for StartCalculationExecutionOutputBuilder
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> 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