Interface DescribeGameSessionDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGameSessionDetailsResponse.Builder,
,DescribeGameSessionDetailsResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeGameSessionDetailsResponse.Builder,
,DescribeGameSessionDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGameSessionDetailsResponse
public static interface DescribeGameSessionDetailsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameSessionDetailsResponse.Builder,DescribeGameSessionDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionDetails
(Collection<GameSessionDetail> gameSessionDetails) A collection of properties for each game session that matches the request.gameSessionDetails
(Consumer<GameSessionDetail.Builder>... gameSessionDetails) A collection of properties for each game session that matches the request.gameSessionDetails
(GameSessionDetail... gameSessionDetails) A collection of properties for each game session that matches the request.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
-
gameSessionDetails
DescribeGameSessionDetailsResponse.Builder gameSessionDetails(Collection<GameSessionDetail> gameSessionDetails) A collection of properties for each game session that matches the request.
- Parameters:
gameSessionDetails
- A collection of properties for each game session that matches the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionDetails
DescribeGameSessionDetailsResponse.Builder gameSessionDetails(GameSessionDetail... gameSessionDetails) A collection of properties for each game session that matches the request.
- Parameters:
gameSessionDetails
- A collection of properties for each game session that matches the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionDetails
DescribeGameSessionDetailsResponse.Builder gameSessionDetails(Consumer<GameSessionDetail.Builder>... gameSessionDetails) A collection of properties for each game session that matches the request.
This is a convenience method that creates an instance of theGameSessionDetail.Builder
avoiding the need to create one manually viaGameSessionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameSessionDetails(List<GameSessionDetail>)
.- Parameters:
gameSessionDetails
- a consumer that will call methods onGameSessionDetail.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.
-