Interface CreateGameSessionQueueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGameSessionQueueResponse.Builder,
,CreateGameSessionQueueResponse> GameLiftResponse.Builder
,SdkBuilder<CreateGameSessionQueueResponse.Builder,
,CreateGameSessionQueueResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateGameSessionQueueResponse
public static interface CreateGameSessionQueueResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateGameSessionQueueResponse.Builder,CreateGameSessionQueueResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionQueue
(Consumer<GameSessionQueue.Builder> gameSessionQueue) An object that describes the newly created game session queue.gameSessionQueue
(GameSessionQueue gameSessionQueue) An object that describes the newly created game session queue.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
-
gameSessionQueue
An object that describes the newly created game session queue.
- Parameters:
gameSessionQueue
- An object that describes the newly created game session queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionQueue
default CreateGameSessionQueueResponse.Builder gameSessionQueue(Consumer<GameSessionQueue.Builder> gameSessionQueue) An object that describes the newly created game session queue.
This is a convenience method that creates an instance of theGameSessionQueue.Builder
avoiding the need to create one manually viaGameSessionQueue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameSessionQueue(GameSessionQueue)
.- Parameters:
gameSessionQueue
- a consumer that will call methods onGameSessionQueue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-