Interface ListLocationsResponse.Builder

  • Method Details

    • locations

      A collection of locations, including both Amazon Web Services and custom locations. Each location includes a name and ping beacon information that can be used to measure network latency between player devices and the location.

      Parameters:
      locations - A collection of locations, including both Amazon Web Services and custom locations. Each location includes a name and ping beacon information that can be used to measure network latency between player devices and the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locations

      A collection of locations, including both Amazon Web Services and custom locations. Each location includes a name and ping beacon information that can be used to measure network latency between player devices and the location.

      Parameters:
      locations - A collection of locations, including both Amazon Web Services and custom locations. Each location includes a name and ping beacon information that can be used to measure network latency between player devices and the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locations

      A collection of locations, including both Amazon Web Services and custom locations. Each location includes a name and ping beacon information that can be used to measure network latency between player devices and the location.

      This is a convenience method that creates an instance of the LocationModel.Builder avoiding the need to create one manually via LocationModel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to locations(List<LocationModel>).

      Parameters:
      locations - a consumer that will call methods on LocationModel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListLocationsResponse.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.