Interface ListFlowsResponse.Builder

  • Method Details

    • flowSummaries

      ListFlowsResponse.Builder flowSummaries(Collection<FlowSummary> flowSummaries)

      A list, each member of which contains information about a flow.

      Parameters:
      flowSummaries - A list, each member of which contains information about a flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowSummaries

      ListFlowsResponse.Builder flowSummaries(FlowSummary... flowSummaries)

      A list, each member of which contains information about a flow.

      Parameters:
      flowSummaries - A list, each member of which contains information about a flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowSummaries

      ListFlowsResponse.Builder flowSummaries(Consumer<FlowSummary.Builder>... flowSummaries)

      A list, each member of which contains information about a flow.

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

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

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

      ListFlowsResponse.Builder nextToken(String nextToken)

      If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.