public static interface StartMatchmakingRequest.Builder extends GameLiftRequest.Builder, CopyableBuilder<StartMatchmakingRequest.Builder,StartMatchmakingRequest>
Modifier and Type | Method and Description |
---|---|
StartMatchmakingRequest.Builder |
configurationName(String configurationName)
Name of the matchmaking configuration to use for this request.
|
StartMatchmakingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartMatchmakingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
StartMatchmakingRequest.Builder |
players(Collection<Player> players)
Information on each player to be matched.
|
StartMatchmakingRequest.Builder |
players(Consumer<Player.Builder>... players)
Information on each player to be matched.
|
StartMatchmakingRequest.Builder |
players(Player... players)
Information on each player to be matched.
|
StartMatchmakingRequest.Builder |
ticketId(String ticketId)
Unique identifier for a matchmaking ticket.
|
build
overrideConfiguration
copy
applyMutation, build
StartMatchmakingRequest.Builder ticketId(String ticketId)
Unique identifier for a matchmaking ticket. Use this identifier to track the matchmaking ticket status and retrieve match results.
ticketId
- Unique identifier for a matchmaking ticket. Use this identifier to track the matchmaking ticket status
and retrieve match results.StartMatchmakingRequest.Builder configurationName(String configurationName)
Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same region as this request.
configurationName
- Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist
in the same region as this request.StartMatchmakingRequest.Builder players(Collection<Player> players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
players
- Information on each player to be matched. This information must include a player ID, and may contain
player attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.StartMatchmakingRequest.Builder players(Player... players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
players
- Information on each player to be matched. This information must include a player ID, and may contain
player attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.StartMatchmakingRequest.Builder players(Consumer<Player.Builder>... players)
Information on each player to be matched. This information must include a player ID, and may contain player
attributes and latency data to be used in the matchmaking process. After a successful match,
Player
objects contain the name of the team the player is assigned to.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #players(List)
.players
- a consumer that will call methods on List.Builder
#players(List)
StartMatchmakingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartMatchmakingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.