Interface ListTaskExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTaskExecutionsResponse.Builder,
,ListTaskExecutionsResponse> DataSyncResponse.Builder
,SdkBuilder<ListTaskExecutionsResponse.Builder,
,ListTaskExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTaskExecutionsResponse
public static interface ListTaskExecutionsResponse.Builder
extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<ListTaskExecutionsResponse.Builder,ListTaskExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe opaque string that indicates the position to begin the next list of results in the response.taskExecutions
(Collection<TaskExecutionListEntry> taskExecutions) A list of the task's executions.taskExecutions
(Consumer<TaskExecutionListEntry.Builder>... taskExecutions) A list of the task's executions.taskExecutions
(TaskExecutionListEntry... taskExecutions) A list of the task's executions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskExecutions
ListTaskExecutionsResponse.Builder taskExecutions(Collection<TaskExecutionListEntry> taskExecutions) A list of the task's executions.
- Parameters:
taskExecutions
- A list of the task's executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskExecutions
A list of the task's executions.
- Parameters:
taskExecutions
- A list of the task's executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskExecutions
ListTaskExecutionsResponse.Builder taskExecutions(Consumer<TaskExecutionListEntry.Builder>... taskExecutions) A list of the task's executions.
This is a convenience method that creates an instance of theTaskExecutionListEntry.Builder
avoiding the need to create one manually viaTaskExecutionListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskExecutions(List<TaskExecutionListEntry>)
.- Parameters:
taskExecutions
- a consumer that will call methods onTaskExecutionListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The opaque string that indicates the position to begin the next list of results in the response.
- Parameters:
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-