Interface UpdateGameSessionQueueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateGameSessionQueueResponse.Builder,,UpdateGameSessionQueueResponse> GameLiftResponse.Builder,SdkBuilder<UpdateGameSessionQueueResponse.Builder,,UpdateGameSessionQueueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateGameSessionQueueResponse
@Mutable
@NotThreadSafe
public static interface UpdateGameSessionQueueResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<UpdateGameSessionQueueResponse.Builder,UpdateGameSessionQueueResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionQueue(Consumer<GameSessionQueue.Builder> gameSessionQueue) An object that describes the newly updated game session queue.gameSessionQueue(GameSessionQueue gameSessionQueue) An object that describes the newly updated game session queue.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
-
gameSessionQueue
An object that describes the newly updated game session queue.
- Parameters:
gameSessionQueue- An object that describes the newly updated game session queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionQueue
default UpdateGameSessionQueueResponse.Builder gameSessionQueue(Consumer<GameSessionQueue.Builder> gameSessionQueue) An object that describes the newly updated 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:
-