Interface FixtureSummary.Builder

  • Method Details

    • fixtureId

      FixtureSummary.Builder fixtureId(String fixtureId)

      The ID of the fixture. Specify this ID in the clipping output of a feed, to identify the fixture whose event data you want Elemental Inference to map onto the clipping metadata.

      Parameters:
      fixtureId - The ID of the fixture. Specify this ID in the clipping output of a feed, to identify the fixture whose event data you want Elemental Inference to map onto the clipping metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the fixture, as provided by the data source. For example, the names of the two competing teams.

      Parameters:
      name - The name of the fixture, as provided by the data source. For example, the names of the two competing teams.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixtureGroup

      FixtureSummary.Builder fixtureGroup(String fixtureGroup)

      The group that the fixture belongs to, such as the competition, league, or tournament. The data source doesn't provide this information for every fixture.

      Parameters:
      fixtureGroup - The group that the fixture belongs to, such as the competition, league, or tournament. The data source doesn't provide this information for every fixture.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledStart

      FixtureSummary.Builder scheduledStart(Instant scheduledStart)

      The scheduled start time of the fixture, as provided by the data source. The actual start time might differ.

      Parameters:
      scheduledStart - The scheduled start time of the fixture, as provided by the data source. The actual start time might differ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed.

      Parameters:
      status - The status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • competitors

      FixtureSummary.Builder competitors(Collection<Competitor> competitors)

      An array of the competitors (the teams or individuals) in the fixture.

      Parameters:
      competitors - An array of the competitors (the teams or individuals) in the fixture.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • competitors

      FixtureSummary.Builder competitors(Competitor... competitors)

      An array of the competitors (the teams or individuals) in the fixture.

      Parameters:
      competitors - An array of the competitors (the teams or individuals) in the fixture.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • competitors

      FixtureSummary.Builder competitors(Consumer<Competitor.Builder>... competitors)

      An array of the competitors (the teams or individuals) in the fixture.

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

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

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