Interface StartGameSessionPlacementResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartGameSessionPlacementResponse.Builder,StartGameSessionPlacementResponse>,GameLiftResponse.Builder,SdkBuilder<StartGameSessionPlacementResponse.Builder,StartGameSessionPlacementResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartGameSessionPlacementResponse
public static interface StartGameSessionPlacementResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<StartGameSessionPlacementResponse.Builder,StartGameSessionPlacementResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StartGameSessionPlacementResponse.BuildergameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement)Object that describes the newly created game session placement.StartGameSessionPlacementResponse.BuildergameSessionPlacement(GameSessionPlacement gameSessionPlacement)Object that describes the newly created game session placement.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
gameSessionPlacement
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionPlacement
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 method that creates an instance of theGameSessionPlacement.Builderavoiding the need to create one manually viaGameSessionPlacement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togameSessionPlacement(GameSessionPlacement).- Parameters:
gameSessionPlacement- a consumer that will call methods onGameSessionPlacement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gameSessionPlacement(GameSessionPlacement)
-
-