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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTaskExecutionsResponse.BuildernextToken(String nextToken)The opaque string that indicates the position to begin the next list of results in the response.ListTaskExecutionsResponse.BuildertaskExecutions(Collection<TaskExecutionListEntry> taskExecutions)A list of the task's executions.ListTaskExecutionsResponse.BuildertaskExecutions(Consumer<TaskExecutionListEntry.Builder>... taskExecutions)A list of the task's executions.ListTaskExecutionsResponse.BuildertaskExecutions(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 Detail
-
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
ListTaskExecutionsResponse.Builder taskExecutions(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
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.Builderavoiding the need to create one manually viaTaskExecutionListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#taskExecutions(List.) - 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:
#taskExecutions(java.util.Collection)
-
nextToken
ListTaskExecutionsResponse.Builder nextToken(String 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.
-
-