#[non_exhaustive]pub struct ListTasksOutputBuilder { /* private fields */ }
Expand description
A builder for ListTasksOutput
.
Implementations§
source§impl ListTasksOutputBuilder
impl ListTasksOutputBuilder
sourcepub fn tasks(self, input: TaskListEntry) -> Self
pub fn tasks(self, input: TaskListEntry) -> Self
Appends an item to tasks
.
To override the contents of this collection use set_tasks
.
A list of all the tasks that are returned.
sourcepub fn set_tasks(self, input: Option<Vec<TaskListEntry>>) -> Self
pub fn set_tasks(self, input: Option<Vec<TaskListEntry>>) -> Self
A list of all the tasks that are returned.
sourcepub fn get_tasks(&self) -> &Option<Vec<TaskListEntry>>
pub fn get_tasks(&self) -> &Option<Vec<TaskListEntry>>
A list of all the tasks that are returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An opaque string that indicates the position at which to begin returning the next list of tasks.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An opaque string that indicates the position at which to begin returning the next list of tasks.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An opaque string that indicates the position at which to begin returning the next list of tasks.
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
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 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
Returns the “default value” for a type. Read more
source§impl PartialEq for ListTasksOutputBuilder
impl PartialEq for ListTasksOutputBuilder
source§fn eq(&self, other: &ListTasksOutputBuilder) -> bool
fn eq(&self, other: &ListTasksOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTasksOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more