Interface ListFlowsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListFlowsResponse.Builder,ListFlowsResponse>, MediaConnectResponse.Builder, SdkBuilder<ListFlowsResponse.Builder,ListFlowsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListFlowsResponse

public static interface ListFlowsResponse.Builder extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListFlowsResponse.Builder,ListFlowsResponse>
  • Method Details

    • flows

      A list of flow summaries.
      Parameters:
      flows - A list of flow summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      A list of flow summaries.
      Parameters:
      flows - A list of flow summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flows

      A list of flow summaries. This is a convenience method that creates an instance of the ListedFlow.Builder avoiding the need to create one manually via ListedFlow.builder().

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

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

      ListFlowsResponse.Builder nextToken(String nextToken)
      The token that identifies which batch of results that you want to see. For example, you submit a ListFlows request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListFlows request a second time and specify the NextToken value.
      Parameters:
      nextToken - The token that identifies which batch of results that you want to see. For example, you submit a ListFlows request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListFlows request a second time and specify the NextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.