Interface SearchFixturesResponse.Builder

  • Method Details

    • fixtures

      An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match.

      Parameters:
      fixtures - An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixtures

      An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match.

      Parameters:
      fixtures - An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixtures

      An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match.

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

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

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

      SearchFixturesResponse.Builder nextToken(String nextToken)

      The token that identifies the next batch of results. To see the next batch, submit the SearchFixtures request again, with the same search criteria, and specify this value in nextToken.

      This parameter is absent when there are no more results to return.

      Parameters:
      nextToken - The token that identifies the next batch of results. To see the next batch, submit the SearchFixtures request again, with the same search criteria, and specify this value in nextToken.

      This parameter is absent when there are no more results to return.

      Returns:
      Returns a reference to this object so that method calls can be chained together.