public static interface ListGameServersResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListGameServersResponse.Builder,ListGameServersResponse>
| Modifier and Type | Method and Description |
|---|---|
ListGameServersResponse.Builder |
gameServers(Collection<GameServer> gameServers)
A collection of game server objects that match the request.
|
ListGameServersResponse.Builder |
gameServers(Consumer<GameServer.Builder>... gameServers)
A collection of game server objects that match the request.
|
ListGameServersResponse.Builder |
gameServers(GameServer... gameServers)
A collection of game server objects that match the request.
|
ListGameServersResponse.Builder |
nextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListGameServersResponse.Builder gameServers(Collection<GameServer> gameServers)
A collection of game server objects that match the request.
gameServers - A collection of game server objects that match the request.ListGameServersResponse.Builder gameServers(GameServer... gameServers)
A collection of game server objects that match the request.
gameServers - A collection of game server objects that match the request.ListGameServersResponse.Builder gameServers(Consumer<GameServer.Builder>... gameServers)
A collection of game server objects that match the request.
This is a convenience method that creates an instance of theGameServer.Builder avoiding the need to create one
manually via GameServer.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #gameServers(List.
gameServers - a consumer that will call methods on
GameServer.Builder#gameServers(java.util.Collection) ListGameServersResponse.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.
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.Copyright © 2023. All rights reserved.