pub struct TaskRunningFluentBuilder { /* private fields */ }Expand description
Fluent builder for the task_running waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl TaskRunningFluentBuilder
impl TaskRunningFluentBuilder
sourcepub fn as_input(&self) -> &GetRunTaskInputBuilder
pub fn as_input(&self) -> &GetRunTaskInputBuilder
Access the GetRunTask as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<TaskRunningFinalPoll, WaitUntilTaskRunningError>
pub async fn wait( self, max_wait: Duration ) -> Result<TaskRunningFinalPoll, WaitUntilTaskRunningError>
Wait until a task is running.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The task's ID.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The task's ID.
Trait Implementations§
source§impl Clone for TaskRunningFluentBuilder
impl Clone for TaskRunningFluentBuilder
source§fn clone(&self) -> TaskRunningFluentBuilder
fn clone(&self) -> TaskRunningFluentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TaskRunningFluentBuilder
impl !RefUnwindSafe for TaskRunningFluentBuilder
impl Send for TaskRunningFluentBuilder
impl Sync for TaskRunningFluentBuilder
impl Unpin for TaskRunningFluentBuilder
impl !UnwindSafe for TaskRunningFluentBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.