Interface TerminateGameSessionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TerminateGameSessionResponse.Builder,TerminateGameSessionResponse>,GameLiftResponse.Builder,SdkBuilder<TerminateGameSessionResponse.Builder,TerminateGameSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- TerminateGameSessionResponse
public static interface TerminateGameSessionResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<TerminateGameSessionResponse.Builder,TerminateGameSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TerminateGameSessionResponse.BuildergameSession(Consumer<GameSession.Builder> gameSession)Sets the value of the GameSession property for this object.TerminateGameSessionResponse.BuildergameSession(GameSession gameSession)Sets the value of the GameSession property for this object.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
gameSession
TerminateGameSessionResponse.Builder gameSession(GameSession gameSession)
Sets the value of the GameSession property for this object.- Parameters:
gameSession- The new value for the GameSession property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSession
default TerminateGameSessionResponse.Builder gameSession(Consumer<GameSession.Builder> gameSession)
Sets the value of the GameSession property for this object. This is a convenience method that creates an instance of theGameSession.Builderavoiding the need to create one manually viaGameSession.builder().When the
Consumercompletes,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:
gameSession(GameSession)
-
-