Struct aws_sdk_datasync::output::list_tasks_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ListTasksOutput.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> ListTasksOutput
pub fn build(self) -> ListTasksOutput
Consumes the builder and constructs a ListTasksOutput.