Interface ListWorkflowsResponse.Builder

  • Method Details

    • workflowVersionList

      ListWorkflowsResponse.Builder workflowVersionList(Collection<WorkflowVersion> workflowVersionList)

      A list of workflow build versions that match the request criteria.

      Parameters:
      workflowVersionList - A list of workflow build versions that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowVersionList

      ListWorkflowsResponse.Builder workflowVersionList(WorkflowVersion... workflowVersionList)

      A list of workflow build versions that match the request criteria.

      Parameters:
      workflowVersionList - A list of workflow build versions that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowVersionList

      ListWorkflowsResponse.Builder workflowVersionList(Consumer<WorkflowVersion.Builder>... workflowVersionList)

      A list of workflow build versions that match the request criteria.

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

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

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

      ListWorkflowsResponse.Builder nextToken(String nextToken)

      The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.

      Parameters:
      nextToken - The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.