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 TypeMethodDescriptionAn opaque string that indicates the position at which to begin returning the next list of executed tasks.taskExecutions(Collection<TaskExecutionListEntry> taskExecutions) A list of executed tasks.taskExecutions(Consumer<TaskExecutionListEntry.Builder>... taskExecutions) A list of executed tasks.taskExecutions(TaskExecutionListEntry... taskExecutions) A list of executed tasks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
taskExecutions
ListTaskExecutionsResponse.Builder taskExecutions(Collection<TaskExecutionListEntry> taskExecutions) A list of executed tasks.
- Parameters:
taskExecutions- A list of executed tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskExecutions
A list of executed tasks.
- Parameters:
taskExecutions- A list of executed tasks.- 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 executed tasks.
This is a convenience method that creates an instance of theTaskExecutionListEntry.Builderavoiding the need to create one manually viaTaskExecutionListEntry.builder().When the
Consumercompletes,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
An opaque string that indicates the position at which to begin returning the next list of executed tasks.
- Parameters:
nextToken- An opaque string that indicates the position at which to begin returning the next list of executed tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-