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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StopGameSessionPlacementResponse.BuildergameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement)Object that describes the canceled game session placement, withCANCELLEDstatus and an end time stamp.StopGameSessionPlacementResponse.BuildergameSessionPlacement(GameSessionPlacement gameSessionPlacement)Object that describes the canceled game session placement, withCANCELLEDstatus 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 Detail
-
gameSessionPlacement
StopGameSessionPlacementResponse.Builder gameSessionPlacement(GameSessionPlacement gameSessionPlacement)
Object that describes the canceled game session placement, with
CANCELLEDstatus and an end time stamp.- Parameters:
gameSessionPlacement- Object that describes the canceled game session placement, withCANCELLEDstatus 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 theCANCELLEDstatus and an end time stamp.GameSessionPlacement.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)
-
-