public static interface UpdateGameSessionResponse.Builder extends GameLiftResponse.Builder, CopyableBuilder<UpdateGameSessionResponse.Builder,UpdateGameSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default UpdateGameSessionResponse.Builder |
gameSession(Consumer<GameSession.Builder> gameSession)
Object that contains the updated game session metadata.
|
UpdateGameSessionResponse.Builder |
gameSession(GameSession gameSession)
Object that contains the updated game session metadata.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildUpdateGameSessionResponse.Builder gameSession(GameSession gameSession)
Object that contains the updated game session metadata.
gameSession - Object that contains the updated game session metadata.default UpdateGameSessionResponse.Builder gameSession(Consumer<GameSession.Builder> gameSession)
Object that contains the updated game session metadata.
This is a convenience that creates an instance of theGameSession.Builder avoiding the need to create
one manually via GameSession.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to gameSession(GameSession).gameSession - a consumer that will call methods on GameSession.BuildergameSession(GameSession)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.