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)An opaque string that indicates the position at which to begin returning the next list of executed tasks.ListTaskExecutionsResponse.BuildertaskExecutions(Collection<TaskExecutionListEntry> taskExecutions)A list of executed tasks.ListTaskExecutionsResponse.BuildertaskExecutions(Consumer<TaskExecutionListEntry.Builder>... taskExecutions)A list of executed tasks.ListTaskExecutionsResponse.BuildertaskExecutions(TaskExecutionListEntry... taskExecutions)A list of executed tasks.-
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 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(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
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 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)
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.
-
-