Interface UpdateGameSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateGameSessionResponse.Builder,
,UpdateGameSessionResponse> GameLiftResponse.Builder
,SdkBuilder<UpdateGameSessionResponse.Builder,
,UpdateGameSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateGameSessionResponse
public static interface UpdateGameSessionResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<UpdateGameSessionResponse.Builder,UpdateGameSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSession
(Consumer<GameSession.Builder> gameSession) The updated game session properties.gameSession
(GameSession gameSession) The updated game session properties.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 Details
-
gameSession
The updated game session properties.
- Parameters:
gameSession
- The updated game session properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSession
The updated game session properties.
This is a convenience method that creates an instance of theGameSession.Builder
avoiding the need to create one manually viaGameSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameSession(GameSession)
.- Parameters:
gameSession
- a consumer that will call methods onGameSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-