Interface DescribeGameSessionPlacementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGameSessionPlacementResponse.Builder,,DescribeGameSessionPlacementResponse> GameLiftResponse.Builder,SdkBuilder<DescribeGameSessionPlacementResponse.Builder,,DescribeGameSessionPlacementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGameSessionPlacementResponse
public static interface DescribeGameSessionPlacementResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameSessionPlacementResponse.Builder,DescribeGameSessionPlacementResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement) Object that describes the requested game session placement.gameSessionPlacement(GameSessionPlacement gameSessionPlacement) Object that describes the requested game session placement.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gameSessionPlacement
DescribeGameSessionPlacementResponse.Builder gameSessionPlacement(GameSessionPlacement gameSessionPlacement) Object that describes the requested game session placement.
- Parameters:
gameSessionPlacement- Object that describes the requested game session placement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionPlacement
default DescribeGameSessionPlacementResponse.Builder gameSessionPlacement(Consumer<GameSessionPlacement.Builder> gameSessionPlacement) Object that describes the requested game session placement.
This is a convenience method that creates an instance of theGameSessionPlacement.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:
-