public static interface CreateGameResponse.Builder extends GameSparksResponse.Builder, SdkPojo, CopyableBuilder<CreateGameResponse.Builder,CreateGameResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateGameResponse.Builder |
game(Consumer<GameDetails.Builder> game)
Details about the game that was created.
|
CreateGameResponse.Builder |
game(GameDetails game)
Details about the game that was created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateGameResponse.Builder game(GameDetails game)
Details about the game that was created.
game - Details about the game that was created.default CreateGameResponse.Builder game(Consumer<GameDetails.Builder> game)
Details about the game that was created.
This is a convenience method that creates an instance of theGameDetails.Builder avoiding the need to
create one manually via GameDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to game(GameDetails).
game - a consumer that will call methods on GameDetails.Buildergame(GameDetails)Copyright © 2022. All rights reserved.