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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePlayerSessionsResponse.BuildernextToken(String nextToken)A token that indicates where to resume retrieving results on the next call to this operation.DescribePlayerSessionsResponse.BuilderplayerSessions(Collection<PlayerSession> playerSessions)A collection of objects containing properties for each player session that matches the request.DescribePlayerSessionsResponse.BuilderplayerSessions(Consumer<PlayerSession.Builder>... playerSessions)A collection of objects containing properties for each player session that matches the request.DescribePlayerSessionsResponse.BuilderplayerSessions(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 Detail
-
playerSessions
DescribePlayerSessionsResponse.Builder playerSessions(Collection<PlayerSession> 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(PlayerSession... 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.Builderavoiding the need to create one manually viaPlayerSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#playerSessions(List.) - 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:
#playerSessions(java.util.Collection)
-
nextToken
DescribePlayerSessionsResponse.Builder nextToken(String 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.
-
-