Interface ListWorkflowsResponse.Builder

  • Method Details

    • nextToken

      ListWorkflowsResponse.Builder nextToken(String nextToken)

      ListWorkflows returns the NextToken parameter in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional workflows.

      Parameters:
      nextToken - ListWorkflows returns the NextToken parameter in the output. You can then pass the NextToken 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, and Description for each workflow.

      Parameters:
      workflows - Returns the Arn, WorkflowId, and Description for each workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflows

      Returns the Arn, WorkflowId, and Description for each workflow.

      Parameters:
      workflows - Returns the Arn, WorkflowId, and Description for each workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflows

      Returns the Arn, WorkflowId, and Description for each workflow.

      This is a convenience method that creates an instance of the ListedWorkflow.Builder avoiding the need to create one manually via ListedWorkflow.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workflows(List<ListedWorkflow>).

      Parameters:
      workflows - a consumer that will call methods on ListedWorkflow.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: