Interface ListTaskInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTaskInstancesResponse.Builder,,ListTaskInstancesResponse> MwaaServerlessResponse.Builder,SdkBuilder<ListTaskInstancesResponse.Builder,,ListTaskInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTaskInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListTaskInstancesResponse.Builder
extends MwaaServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListTaskInstancesResponse.Builder,ListTaskInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token you need to use to retrieve the next set of results.taskInstances(Collection<TaskInstanceSummary> taskInstances) A list of task instance summaries for the specified workflow run.taskInstances(Consumer<TaskInstanceSummary.Builder>... taskInstances) A list of task instance summaries for the specified workflow run.taskInstances(TaskInstanceSummary... taskInstances) A list of task instance summaries for the specified workflow run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaaserverless.model.MwaaServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskInstances
A list of task instance summaries for the specified workflow run.
- Parameters:
taskInstances- A list of task instance summaries for the specified workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInstances
A list of task instance summaries for the specified workflow run.
- Parameters:
taskInstances- A list of task instance summaries for the specified workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInstances
ListTaskInstancesResponse.Builder taskInstances(Consumer<TaskInstanceSummary.Builder>... taskInstances) A list of task instance summaries for the specified workflow run.
This is a convenience method that creates an instance of theTaskInstanceSummary.Builderavoiding the need to create one manually viaTaskInstanceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskInstances(List<TaskInstanceSummary>).- Parameters:
taskInstances- a consumer that will call methods onTaskInstanceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token you need to use to retrieve the next set of results. This value is null if there are no more results.
- Parameters:
nextToken- The pagination token you need to use to retrieve the next set of results. This value is null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-