Struct aws_sdk_ecs::operation::list_tasks::builders::ListTasksOutputBuilder
source · #[non_exhaustive]pub struct ListTasksOutputBuilder { /* private fields */ }Expand description
A builder for ListTasksOutput.
Implementations§
source§impl ListTasksOutputBuilder
impl ListTasksOutputBuilder
sourcepub fn task_arns(self, input: impl Into<String>) -> Self
pub fn task_arns(self, input: impl Into<String>) -> Self
Appends an item to task_arns.
To override the contents of this collection use set_task_arns.
The list of task ARN entries for the ListTasks request.
sourcepub fn set_task_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_task_arns(self, input: Option<Vec<String>>) -> Self
The list of task ARN entries for the ListTasks request.
sourcepub fn get_task_arns(&self) -> &Option<Vec<String>>
pub fn get_task_arns(&self) -> &Option<Vec<String>>
The list of task ARN entries for the ListTasks request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken value to include in a future ListTasks request. When the results of a ListTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> ListTasksOutput
pub fn build(self) -> ListTasksOutput
Consumes the builder and constructs a ListTasksOutput.
Trait Implementations§
source§impl Clone for ListTasksOutputBuilder
impl Clone for ListTasksOutputBuilder
source§fn clone(&self) -> ListTasksOutputBuilder
fn clone(&self) -> ListTasksOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListTasksOutputBuilder
impl Debug for ListTasksOutputBuilder
source§impl Default for ListTasksOutputBuilder
impl Default for ListTasksOutputBuilder
source§fn default() -> ListTasksOutputBuilder
fn default() -> ListTasksOutputBuilder
source§impl PartialEq for ListTasksOutputBuilder
impl PartialEq for ListTasksOutputBuilder
impl StructuralPartialEq for ListTasksOutputBuilder
Auto Trait Implementations§
impl Freeze for ListTasksOutputBuilder
impl RefUnwindSafe for ListTasksOutputBuilder
impl Send for ListTasksOutputBuilder
impl Sync for ListTasksOutputBuilder
impl Unpin for ListTasksOutputBuilder
impl UnwindSafe for ListTasksOutputBuilder
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