Interface StartGameSessionPlacementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartGameSessionPlacementResponse.Builder,,StartGameSessionPlacementResponse> GameLiftResponse.Builder,SdkBuilder<StartGameSessionPlacementResponse.Builder,,StartGameSessionPlacementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartGameSessionPlacementResponse
@Mutable
@NotThreadSafe
public static interface StartGameSessionPlacementResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<StartGameSessionPlacementResponse.Builder,StartGameSessionPlacementResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement) Object that describes the newly created game session placement.gameSessionPlacement(GameSessionPlacement gameSessionPlacement) Object that describes the newly created game session placement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-