Interface FixtureSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FixtureSummary.Builder,,FixtureSummary> SdkBuilder<FixtureSummary.Builder,,FixtureSummary> SdkPojo
- Enclosing class:
FixtureSummary
-
Method Summary
Modifier and TypeMethodDescriptioncompetitors(Collection<Competitor> competitors) An array of the competitors (the teams or individuals) in the fixture.competitors(Consumer<Competitor.Builder>... competitors) An array of the competitors (the teams or individuals) in the fixture.competitors(Competitor... competitors) An array of the competitors (the teams or individuals) in the fixture.fixtureGroup(String fixtureGroup) The group that the fixture belongs to, such as the competition, league, or tournament.The ID of the fixture.The name of the fixture, as provided by the data source.scheduledStart(Instant scheduledStart) The scheduled start time of the fixture, as provided by the data source.The status of the fixture in its lifecycle, as provided by the data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
An array of the competitors (the teams or individuals) in the fixture.
This is a convenience method that creates an instance of theCompetitor.Builderavoiding the need to create one manually viaCompetitor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompetitors(List<Competitor>).- Parameters:
competitors- a consumer that will call methods onCompetitor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-