Interface ListWorkflowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkflowsResponse.Builder,
,ListWorkflowsResponse> SdkBuilder<ListWorkflowsResponse.Builder,
,ListWorkflowsResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
ListWorkflowsResponse
public static interface ListWorkflowsResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionListWorkflows
returns theNextToken
parameter in the output.workflows
(Collection<ListedWorkflow> workflows) Returns theArn
,WorkflowId
, andDescription
for each workflow.workflows
(Consumer<ListedWorkflow.Builder>... workflows) Returns theArn
,WorkflowId
, andDescription
for each workflow.workflows
(ListedWorkflow... workflows) Returns theArn
,WorkflowId
, andDescription
for each workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
ListWorkflows
returns theNextToken
parameter in the output. You can then pass theNextToken
parameter in a subsequent command to continue listing additional workflows.- Parameters:
nextToken
-ListWorkflows
returns theNextToken
parameter in the output. You can then pass theNextToken
parameter 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
, andDescription
for each workflow.- Parameters:
workflows
- Returns theArn
,WorkflowId
, andDescription
for each workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
Returns the
Arn
,WorkflowId
, andDescription
for each workflow.- Parameters:
workflows
- Returns theArn
,WorkflowId
, andDescription
for 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
, andDescription
for each workflow.ListedWorkflow.Builder
avoiding the need to create one manually viaListedWorkflow.builder()
.When the
Consumer
completes,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:
-