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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListTasksResponse.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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tasks(List)
.tasks
- a consumer that will call methods on List.Builder
#tasks(List)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.