Interface SearchPlaceIndexForTextResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<SearchPlaceIndexForTextResponse.Builder,SearchPlaceIndexForTextResponse>, LocationResponse.Builder, SdkBuilder<SearchPlaceIndexForTextResponse.Builder,SearchPlaceIndexForTextResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
SearchPlaceIndexForTextResponse

public static interface SearchPlaceIndexForTextResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForTextResponse.Builder,SearchPlaceIndexForTextResponse>
  • Method Details

    • results

      A list of Places matching the input text. Each result contains additional information about the specific point of interest.

      Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

      Parameters:
      results - A list of Places matching the input text. Each result contains additional information about the specific point of interest.

      Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

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

      A list of Places matching the input text. Each result contains additional information about the specific point of interest.

      Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

      Parameters:
      results - A list of Places matching the input text. Each result contains additional information about the specific point of interest.

      Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

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

      A list of Places matching the input text. Each result contains additional information about the specific point of interest.

      Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

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

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

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

      Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.

      Parameters:
      summary - Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summary

      Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to summary(SearchPlaceIndexForTextSummary).

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