Interface ListWorkflowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> SdkBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
ListWorkflowsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkflowsResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionListWorkflowsreturns theNextTokenparameter in the output.workflows(Collection<ListedWorkflow> workflows) Returns theArn,WorkflowId, andDescriptionfor each workflow.workflows(Consumer<ListedWorkflow.Builder>... workflows) Returns theArn,WorkflowId, andDescriptionfor each workflow.workflows(ListedWorkflow... workflows) Returns theArn,WorkflowId, andDescriptionfor each workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
ListWorkflowsreturns theNextTokenparameter in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional workflows.- Parameters:
nextToken-ListWorkflowsreturns theNextTokenparameter in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional workflows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
Returns the
Arn,WorkflowId, andDescriptionfor each workflow.- Parameters:
workflows- Returns theArn,WorkflowId, andDescriptionfor each workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
Returns the
Arn,WorkflowId, andDescriptionfor each workflow.- Parameters:
workflows- Returns theArn,WorkflowId, andDescriptionfor each workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
Returns the
This is a convenience method that creates an instance of theArn,WorkflowId, andDescriptionfor each workflow.ListedWorkflow.Builderavoiding the need to create one manually viaListedWorkflow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflows(List<ListedWorkflow>).- Parameters:
workflows- a consumer that will call methods onListedWorkflow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-