#[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 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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.