public static interface StartMatchmakingResponse.Builder extends GameLiftResponse.Builder, CopyableBuilder<StartMatchmakingResponse.Builder,StartMatchmakingResponse>
Modifier and Type | Method and Description |
---|---|
default StartMatchmakingResponse.Builder |
matchmakingTicket(Consumer<MatchmakingTicket.Builder> matchmakingTicket)
Ticket representing the matchmaking request.
|
StartMatchmakingResponse.Builder |
matchmakingTicket(MatchmakingTicket matchmakingTicket)
Ticket representing the matchmaking request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
StartMatchmakingResponse.Builder matchmakingTicket(MatchmakingTicket matchmakingTicket)
Ticket representing the matchmaking request. This object include the information included in the request, ticket status, and match results as generated during the matchmaking process.
matchmakingTicket
- Ticket representing the matchmaking request. This object include the information included in the
request, ticket status, and match results as generated during the matchmaking process.default StartMatchmakingResponse.Builder matchmakingTicket(Consumer<MatchmakingTicket.Builder> matchmakingTicket)
Ticket representing the matchmaking request. This object include the information included in the request, ticket status, and match results as generated during the matchmaking process.
This is a convenience that creates an instance of theMatchmakingTicket.Builder
avoiding the need to
create one manually via MatchmakingTicket.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to matchmakingTicket(MatchmakingTicket)
.matchmakingTicket
- a consumer that will call methods on MatchmakingTicket.Builder
matchmakingTicket(MatchmakingTicket)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.