public static interface ListTasksResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<ListTasksResponse.Builder,ListTasksResponse>
| Modifier and Type | Method and Description |
|---|---|
ListTasksResponse.Builder |
nextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
|
ListTasksResponse.Builder |
tasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
|
ListTasksResponse.Builder |
tasks(Consumer<TaskListEntry.Builder>... tasks)
A list of all the tasks that are returned.
|
ListTasksResponse.Builder |
tasks(TaskListEntry... tasks)
A list of all the tasks that are returned.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTasksResponse.Builder tasks(Collection<TaskListEntry> tasks)
A list of all the tasks that are returned.
tasks - A list of all the tasks that are returned.ListTasksResponse.Builder tasks(TaskListEntry... tasks)
A list of all the tasks that are returned.
tasks - A list of all the tasks that are returned.ListTasksResponse.Builder tasks(Consumer<TaskListEntry.Builder>... tasks)
A list of all the tasks that are returned.
This is a convenience method that creates an instance of theTaskListEntry.Builder avoiding the need to create one
manually via TaskListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tasks(List.
tasks - a consumer that will call methods on
TaskListEntry.Builder#tasks(java.util.Collection) ListTasksResponse.Builder nextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of tasks.
nextToken - An opaque string that indicates the position at which to begin returning the next list of tasks.Copyright © 2022. All rights reserved.