public static interface StartGameSessionPlacementResponse.Builder extends GameLiftResponse.Builder, CopyableBuilder<StartGameSessionPlacementResponse.Builder,StartGameSessionPlacementResponse>
Modifier and Type | Method and Description |
---|---|
default StartGameSessionPlacementResponse.Builder |
gameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement)
Object that describes the newly created game session placement.
|
StartGameSessionPlacementResponse.Builder |
gameSessionPlacement(GameSessionPlacement gameSessionPlacement)
Object that describes the newly created game session placement.
|
build
copy
apply, build
StartGameSessionPlacementResponse.Builder gameSessionPlacement(GameSessionPlacement gameSessionPlacement)
Object that describes the newly created game session placement. This object includes all the information provided in the request, as well as start/end time stamps and placement status.
gameSessionPlacement
- Object that describes the newly created game session placement. This object includes all the
information provided in the request, as well as start/end time stamps and placement status.default StartGameSessionPlacementResponse.Builder gameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement)
Object that describes the newly created game session placement. This object includes all the information provided in the request, as well as start/end time stamps and placement status.
This is a convenience that creates an instance of theGameSessionPlacement.Builder
avoiding the need
to create one manually via GameSessionPlacement.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to gameSessionPlacement(GameSessionPlacement)
.gameSessionPlacement
- a consumer that will call methods on GameSessionPlacement.Builder
gameSessionPlacement(GameSessionPlacement)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.