pub struct TasksStoppedFluentBuilder { /* private fields */ }
Expand description
Fluent builder for the tasks_stopped
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 TasksStoppedFluentBuilder
impl TasksStoppedFluentBuilder
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<TasksStoppedFinalPoll, WaitUntilTasksStoppedError>
pub async fn wait( self, max_wait: Duration ) -> Result<TasksStoppedFinalPoll, WaitUntilTasksStoppedError>
Wait for tasks_stopped
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 TasksStoppedFluentBuilder
impl Clone for TasksStoppedFluentBuilder
source§fn clone(&self) -> TasksStoppedFluentBuilder
fn clone(&self) -> TasksStoppedFluentBuilder
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 TasksStoppedFluentBuilder
impl !RefUnwindSafe for TasksStoppedFluentBuilder
impl Send for TasksStoppedFluentBuilder
impl Sync for TasksStoppedFluentBuilder
impl Unpin for TasksStoppedFluentBuilder
impl !UnwindSafe for TasksStoppedFluentBuilder
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