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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateGameSessionQueueResponse.BuildergameSessionQueue(Consumer<GameSessionQueue.Builder> gameSessionQueue)An object that describes the newly created game session queue.CreateGameSessionQueueResponse.BuildergameSessionQueue(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 Detail
-
gameSessionQueue
CreateGameSessionQueueResponse.Builder gameSessionQueue(GameSessionQueue 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.Builderavoiding the need to create one manually viaGameSessionQueue.builder().When the
Consumercompletes,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:
gameSessionQueue(GameSessionQueue)
-
-