Interface DescribeGameSessionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGameSessionsResponse.Builder,DescribeGameSessionsResponse>,GameLiftResponse.Builder,SdkBuilder<DescribeGameSessionsResponse.Builder,DescribeGameSessionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeGameSessionsResponse
public static interface DescribeGameSessionsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameSessionsResponse.Builder,DescribeGameSessionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeGameSessionsResponse.BuildergameSessions(Collection<GameSession> gameSessions)A collection of properties for each game session that matches the request.DescribeGameSessionsResponse.BuildergameSessions(Consumer<GameSession.Builder>... gameSessions)A collection of properties for each game session that matches the request.DescribeGameSessionsResponse.BuildergameSessions(GameSession... gameSessions)A collection of properties for each game session that matches the request.DescribeGameSessionsResponse.BuildernextToken(String nextToken)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 Detail
-
gameSessions
DescribeGameSessionsResponse.Builder gameSessions(Collection<GameSession> gameSessions)
A collection of properties for each game session that matches the request.
- Parameters:
gameSessions- 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.
-
gameSessions
DescribeGameSessionsResponse.Builder gameSessions(GameSession... gameSessions)
A collection of properties for each game session that matches the request.
- Parameters:
gameSessions- 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.
-
gameSessions
DescribeGameSessionsResponse.Builder gameSessions(Consumer<GameSession.Builder>... gameSessions)
A collection of properties for each game session that matches the request.
This is a convenience method that creates an instance of theGameSession.Builderavoiding the need to create one manually viaGameSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#gameSessions(List.) - Parameters:
gameSessions- a consumer that will call methods onGameSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#gameSessions(java.util.Collection)
-
nextToken
DescribeGameSessionsResponse.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.
-
-