Interface StopGameSessionPlacementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StopGameSessionPlacementResponse.Builder,
,StopGameSessionPlacementResponse> GameLiftResponse.Builder
,SdkBuilder<StopGameSessionPlacementResponse.Builder,
,StopGameSessionPlacementResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StopGameSessionPlacementResponse
public static interface StopGameSessionPlacementResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<StopGameSessionPlacementResponse.Builder,StopGameSessionPlacementResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionPlacement
(Consumer<GameSessionPlacement.Builder> gameSessionPlacement) Object that describes the canceled game session placement, withCANCELLED
status and an end time stamp.gameSessionPlacement
(GameSessionPlacement gameSessionPlacement) Object that describes the canceled game session placement, withCANCELLED
status and an end time stamp.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
-
gameSessionPlacement
StopGameSessionPlacementResponse.Builder gameSessionPlacement(GameSessionPlacement gameSessionPlacement) Object that describes the canceled game session placement, with
CANCELLED
status and an end time stamp.- Parameters:
gameSessionPlacement
- Object that describes the canceled game session placement, withCANCELLED
status and an end time stamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionPlacement
default StopGameSessionPlacementResponse.Builder gameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement) Object that describes the canceled game session placement, with
This is a convenience method that creates an instance of theCANCELLED
status and an end time stamp.GameSessionPlacement.Builder
avoiding the need to create one manually viaGameSessionPlacement.builder()
.When the
Consumer
completes,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:
-