Interface ListWorkflowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> MwaaServerlessResponse.Builder,SdkBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkflowsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkflowsResponse.Builder
extends MwaaServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token you need to use to retrieve the next set of results.workflows(Collection<WorkflowSummary> workflows) A list of workflow summaries for all workflows in your account.workflows(Consumer<WorkflowSummary.Builder>... workflows) A list of workflow summaries for all workflows in your account.workflows(WorkflowSummary... workflows) A list of workflow summaries for all workflows in your account.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
-
workflows
A list of workflow summaries for all workflows in your account.
- Parameters:
workflows- A list of workflow summaries for all workflows in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
A list of workflow summaries for all workflows in your account.
- Parameters:
workflows- A list of workflow summaries for all workflows in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
A list of workflow summaries for all workflows in your account.
This is a convenience method that creates an instance of theWorkflowSummary.Builderavoiding the need to create one manually viaWorkflowSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflows(List<WorkflowSummary>).- Parameters:
workflows- a consumer that will call methods onWorkflowSummary.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.
-