Interface ListTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTasksResponse.Builder,,ListTasksResponse> SdkBuilder<ListTasksResponse.Builder,,ListTasksResponse> SdkPojo,SdkResponse.Builder,SnowDeviceManagementResponse.Builder
- Enclosing class:
ListTasksResponse
public static interface ListTasksResponse.Builder
extends SnowDeviceManagementResponse.Builder, SdkPojo, CopyableBuilder<ListTasksResponse.Builder,ListTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to continue to the next page of tasks.tasks(Collection<TaskSummary> tasks) A list of task structures containing details about each task.tasks(Consumer<TaskSummary.Builder>... tasks) A list of task structures containing details about each task.tasks(TaskSummary... tasks) A list of task structures containing details about each task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
A pagination token to continue to the next page of tasks.
- Parameters:
nextToken- A pagination token to continue to the next page of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of task structures containing details about each task.
- Parameters:
tasks- A list of task structures containing details about each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of task structures containing details about each task.
- Parameters:
tasks- A list of task structures containing details about each task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of task structures containing details about each task.
This is a convenience method that creates an instance of theTaskSummary.Builderavoiding the need to create one manually viaTaskSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totasks(List<TaskSummary>).- Parameters:
tasks- a consumer that will call methods onTaskSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-