Interface StartMatchmakingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartMatchmakingResponse.Builder,,StartMatchmakingResponse> GameLiftResponse.Builder,SdkBuilder<StartMatchmakingResponse.Builder,,StartMatchmakingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartMatchmakingResponse
@Mutable
@NotThreadSafe
public static interface StartMatchmakingResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<StartMatchmakingResponse.Builder,StartMatchmakingResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartMatchmakingResponse.BuildermatchmakingTicket(Consumer<MatchmakingTicket.Builder> matchmakingTicket) Ticket representing the matchmaking request.matchmakingTicket(MatchmakingTicket matchmakingTicket) Ticket representing the matchmaking request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-