Interface StartMatchmakingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMatchmakingRequest.Builder,StartMatchmakingRequest>,GameLiftRequest.Builder,SdkBuilder<StartMatchmakingRequest.Builder,StartMatchmakingRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartMatchmakingRequest
public static interface StartMatchmakingRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<StartMatchmakingRequest.Builder,StartMatchmakingRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartMatchmakingRequest.BuilderconfigurationName(String configurationName)Name of the matchmaking configuration to use for this request.StartMatchmakingRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartMatchmakingRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartMatchmakingRequest.Builderplayers(Collection<Player> players)Information on each player to be matched.StartMatchmakingRequest.Builderplayers(Consumer<Player.Builder>... players)Information on each player to be matched.StartMatchmakingRequest.Builderplayers(Player... players)Information on each player to be matched.StartMatchmakingRequest.BuilderticketId(String ticketId)A unique identifier for a matchmaking ticket.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ticketId
StartMatchmakingRequest.Builder ticketId(String ticketId)
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.
- Parameters:
ticketId- A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationName
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. You can use either the configuration name or ARN value.
- Parameters:
configurationName- Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same Region as this request. You can use either the configuration name or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
players
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,
Playerobjects contain the name of the team the player is assigned to.You can include up to 10
Playersin aStartMatchmakingrequest.- Parameters:
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,Playerobjects contain the name of the team the player is assigned to.You can include up to 10
Playersin aStartMatchmakingrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
players
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,
Playerobjects contain the name of the team the player is assigned to.You can include up to 10
Playersin aStartMatchmakingrequest.- Parameters:
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,Playerobjects contain the name of the team the player is assigned to.You can include up to 10
Playersin aStartMatchmakingrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
players
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,
Playerobjects contain the name of the team the player is assigned to.You can include up to 10
This is a convenience method that creates an instance of thePlayersin aStartMatchmakingrequest.Player.Builderavoiding the need to create one manually viaPlayer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#players(List.) - Parameters:
players- a consumer that will call methods onPlayer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#players(java.util.Collection)
-
overrideConfiguration
StartMatchmakingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartMatchmakingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-