Interface StopGameSessionPlacementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StopGameSessionPlacementResponse.Builder,,StopGameSessionPlacementResponse> GameLiftResponse.Builder,SdkBuilder<StopGameSessionPlacementResponse.Builder,,StopGameSessionPlacementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StopGameSessionPlacementResponse
@Mutable
@NotThreadSafe
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, withCANCELLEDstatus and an end time stamp.gameSessionPlacement(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
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
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:
-