Interface DescribeGameSessionQueuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGameSessionQueuesResponse.Builder,
,DescribeGameSessionQueuesResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeGameSessionQueuesResponse.Builder,
,DescribeGameSessionQueuesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGameSessionQueuesResponse
public static interface DescribeGameSessionQueuesResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameSessionQueuesResponse.Builder,DescribeGameSessionQueuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionQueues
(Collection<GameSessionQueue> gameSessionQueues) A collection of objects that describe the requested game session queues.gameSessionQueues
(Consumer<GameSessionQueue.Builder>... gameSessionQueues) A collection of objects that describe the requested game session queues.gameSessionQueues
(GameSessionQueue... gameSessionQueues) A collection of objects that describe the requested game session queues.A token that indicates where to resume retrieving results on the next call to this operation.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
-
gameSessionQueues
DescribeGameSessionQueuesResponse.Builder gameSessionQueues(Collection<GameSessionQueue> gameSessionQueues) A collection of objects that describe the requested game session queues.
- Parameters:
gameSessionQueues
- A collection of objects that describe the requested game session queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionQueues
A collection of objects that describe the requested game session queues.
- Parameters:
gameSessionQueues
- A collection of objects that describe the requested game session queues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionQueues
DescribeGameSessionQueuesResponse.Builder gameSessionQueues(Consumer<GameSessionQueue.Builder>... gameSessionQueues) A collection of objects that describe the requested game session queues.
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 togameSessionQueues(List<GameSessionQueue>)
.- Parameters:
gameSessionQueues
- 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:
-
nextToken
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-