public static interface CreateGameSessionResponse.Builder extends GameLiftResponse.Builder, CopyableBuilder<CreateGameSessionResponse.Builder,CreateGameSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateGameSessionResponse.Builder |
gameSession(Consumer<GameSession.Builder> gameSession)
Object that describes the newly created game session record.
|
CreateGameSessionResponse.Builder |
gameSession(GameSession gameSession)
Object that describes the newly created game session record.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateGameSessionResponse.Builder gameSession(GameSession gameSession)
Object that describes the newly created game session record.
gameSession - Object that describes the newly created game session record.default CreateGameSessionResponse.Builder gameSession(Consumer<GameSession.Builder> gameSession)
Object that describes the newly created game session record.
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.