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
source§fn eq(&self, other: &ListTasksOutputBuilder) -> bool
fn eq(&self, other: &ListTasksOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.