Interface ListOpportunitiesResponse.Builder

  • Method Details

    • nextToken

      A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

      Parameters:
      nextToken - A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • opportunitySummaries

      ListOpportunitiesResponse.Builder opportunitySummaries(Collection<OpportunitySummary> opportunitySummaries)

      An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.

      Parameters:
      opportunitySummaries - An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • opportunitySummaries

      ListOpportunitiesResponse.Builder opportunitySummaries(OpportunitySummary... opportunitySummaries)

      An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.

      Parameters:
      opportunitySummaries - An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • opportunitySummaries

      ListOpportunitiesResponse.Builder opportunitySummaries(Consumer<OpportunitySummary.Builder>... opportunitySummaries)

      An array that contains minimal details for opportunities that match the request criteria. This summary view provides a quick overview of relevant opportunities.

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

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

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