Interface DescribePlayerSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribePlayerSessionsResponse.Builder,
,DescribePlayerSessionsResponse> GameLiftResponse.Builder
,SdkBuilder<DescribePlayerSessionsResponse.Builder,
,DescribePlayerSessionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribePlayerSessionsResponse
public static interface DescribePlayerSessionsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribePlayerSessionsResponse.Builder,DescribePlayerSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates where to resume retrieving results on the next call to this operation.playerSessions
(Collection<PlayerSession> playerSessions) A collection of objects containing properties for each player session that matches the request.playerSessions
(Consumer<PlayerSession.Builder>... playerSessions) A collection of objects containing properties for each player session that matches the request.playerSessions
(PlayerSession... playerSessions) A collection of objects containing properties for each player session that matches the request.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
-
playerSessions
A collection of objects containing properties for each player session that matches the request.
- Parameters:
playerSessions
- A collection of objects containing properties for each player session that matches the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playerSessions
A collection of objects containing properties for each player session that matches the request.
- Parameters:
playerSessions
- A collection of objects containing properties for each player session that matches the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playerSessions
DescribePlayerSessionsResponse.Builder playerSessions(Consumer<PlayerSession.Builder>... playerSessions) A collection of objects containing properties for each player session that matches the request.
This is a convenience method that creates an instance of thePlayerSession.Builder
avoiding the need to create one manually viaPlayerSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplayerSessions(List<PlayerSession>)
.- Parameters:
playerSessions
- a consumer that will call methods onPlayerSession.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.
-