Interface ListGameServersResponse.Builder

  • Method Details

    • gameServers

      A collection of game server objects that match the request.

      Parameters:
      gameServers - A collection of game server objects that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameServers

      ListGameServersResponse.Builder gameServers(GameServer... gameServers)

      A collection of game server objects that match the request.

      Parameters:
      gameServers - A collection of game server objects that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameServers

      A collection of game server objects that match the request.

      This is a convenience method that creates an instance of the GameServer.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<GameServer>).

      Parameters:
      gameServers - a consumer that will call methods on GameServer.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.