Interface SearchPlaceIndexForPositionSummary.Builder

    • Method Detail

      • position

        SearchPlaceIndexForPositionSummary.Builder position​(Double... position)

        The position specified in the request.

        Parameters:
        position - The position specified in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        SearchPlaceIndexForPositionSummary.Builder maxResults​(Integer maxResults)

        Contains the optional result count limit that is specified in the request.

        Default value: 50

        Parameters:
        maxResults - Contains the optional result count limit that is specified in the request.

        Default value: 50

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSource

        SearchPlaceIndexForPositionSummary.Builder dataSource​(String dataSource)

        The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

        Parameters:
        dataSource - The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

        • Esri

        • Grab

        • Here

        For more information about data providers, see Amazon Location Service data providers.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • language

        SearchPlaceIndexForPositionSummary.Builder language​(String language)

        The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

        Parameters:
        language - The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.
        Returns:
        Returns a reference to this object so that method calls can be chained together.