Struct aws_sdk_athena::operation::terminate_session::builders::TerminateSessionOutputBuilder
source · #[non_exhaustive]pub struct TerminateSessionOutputBuilder { /* private fields */ }Expand description
A builder for TerminateSessionOutput.
Implementations§
source§impl TerminateSessionOutputBuilder
impl TerminateSessionOutputBuilder
sourcepub fn state(self, input: SessionState) -> Self
pub fn state(self, input: SessionState) -> Self
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
sourcepub fn set_state(self, input: Option<SessionState>) -> Self
pub fn set_state(self, input: Option<SessionState>) -> Self
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
sourcepub fn get_state(&self) -> &Option<SessionState>
pub fn get_state(&self) -> &Option<SessionState>
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
sourcepub fn build(self) -> TerminateSessionOutput
pub fn build(self) -> TerminateSessionOutput
Consumes the builder and constructs a TerminateSessionOutput.
Trait Implementations§
source§impl Clone for TerminateSessionOutputBuilder
impl Clone for TerminateSessionOutputBuilder
source§fn clone(&self) -> TerminateSessionOutputBuilder
fn clone(&self) -> TerminateSessionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TerminateSessionOutputBuilder
impl Default for TerminateSessionOutputBuilder
source§fn default() -> TerminateSessionOutputBuilder
fn default() -> TerminateSessionOutputBuilder
source§impl PartialEq for TerminateSessionOutputBuilder
impl PartialEq for TerminateSessionOutputBuilder
source§fn eq(&self, other: &TerminateSessionOutputBuilder) -> bool
fn eq(&self, other: &TerminateSessionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TerminateSessionOutputBuilder
Auto Trait Implementations§
impl Freeze for TerminateSessionOutputBuilder
impl RefUnwindSafe for TerminateSessionOutputBuilder
impl Send for TerminateSessionOutputBuilder
impl Sync for TerminateSessionOutputBuilder
impl Unpin for TerminateSessionOutputBuilder
impl UnwindSafe for TerminateSessionOutputBuilder
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