Interface StartMatchmakingResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartMatchmakingResponse.Builder,StartMatchmakingResponse>,GameLiftResponse.Builder,SdkBuilder<StartMatchmakingResponse.Builder,StartMatchmakingResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartMatchmakingResponse
public static interface StartMatchmakingResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<StartMatchmakingResponse.Builder,StartMatchmakingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartMatchmakingResponse.BuildermatchmakingTicket(Consumer<MatchmakingTicket.Builder> matchmakingTicket)Ticket representing the matchmaking request.StartMatchmakingResponse.BuildermatchmakingTicket(MatchmakingTicket matchmakingTicket)Ticket representing the matchmaking request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
matchmakingTicket
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchmakingTicket
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 method that creates an instance of theMatchmakingTicket.Builderavoiding the need to create one manually viaMatchmakingTicket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchmakingTicket(MatchmakingTicket).- Parameters:
matchmakingTicket- a consumer that will call methods onMatchmakingTicket.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
matchmakingTicket(MatchmakingTicket)
-
-