pub struct TasksRunningFluentBuilder { /* private fields */ }Expand description
Fluent builder for the tasks_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 TasksRunningFluentBuilder
impl TasksRunningFluentBuilder
sourcepub fn as_input(&self) -> &DescribeTasksInputBuilder
pub fn as_input(&self) -> &DescribeTasksInputBuilder
Access the DescribeTasks as a reference.
sourcepub async fn wait(
self,
max_wait: Duration,
) -> Result<TasksRunningFinalPoll, WaitUntilTasksRunningError>
pub async fn wait( self, max_wait: Duration, ) -> Result<TasksRunningFinalPoll, WaitUntilTasksRunningError>
Wait for tasks_running
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn tasks(self, input: impl Into<String>) -> Self
pub fn tasks(self, input: impl Into<String>) -> Self
Appends an item to tasks.
To override the contents of this collection use set_tasks.
A list of up to 100 task IDs or full ARN entries.
sourcepub fn set_tasks(self, input: Option<Vec<String>>) -> Self
pub fn set_tasks(self, input: Option<Vec<String>>) -> Self
A list of up to 100 task IDs or full ARN entries.
sourcepub fn get_tasks(&self) -> &Option<Vec<String>>
pub fn get_tasks(&self) -> &Option<Vec<String>>
A list of up to 100 task IDs or full ARN entries.
sourcepub fn include(self, input: TaskField) -> Self
pub fn include(self, input: TaskField) -> Self
Appends an item to include.
To override the contents of this collection use set_include.
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
sourcepub fn set_include(self, input: Option<Vec<TaskField>>) -> Self
pub fn set_include(self, input: Option<Vec<TaskField>>) -> Self
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
sourcepub fn get_include(&self) -> &Option<Vec<TaskField>>
pub fn get_include(&self) -> &Option<Vec<TaskField>>
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
Trait Implementations§
source§impl Clone for TasksRunningFluentBuilder
impl Clone for TasksRunningFluentBuilder
source§fn clone(&self) -> TasksRunningFluentBuilder
fn clone(&self) -> TasksRunningFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for TasksRunningFluentBuilder
impl !RefUnwindSafe for TasksRunningFluentBuilder
impl Send for TasksRunningFluentBuilder
impl Sync for TasksRunningFluentBuilder
impl Unpin for TasksRunningFluentBuilder
impl !UnwindSafe for TasksRunningFluentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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