/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.geo.model; import java.io.Serializable; public class SearchPlaceIndexForPositionResult implements Serializable { /** *
* Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned. *
*/ private java.util.List
* Contains a summary of the request. Echoes the input values for
* Position
, Language
, MaxResults
,
* and the DataSource
of the place index.
*
* Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned. *
* * @return* Returns a list of Places closest to the specified position. Each * result contains additional information about the Places returned. *
*/ public java.util.List* Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned. *
* * @param results* Returns a list of Places closest to the specified position. * Each result contains additional information about the Places * returned. *
*/ public void setResults(java.util.Collection* Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned. *
** Returns a reference to this object so that method calls can be chained * together. * * @param results
* Returns a list of Places closest to the specified position. * Each result contains additional information about the Places * returned. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchPlaceIndexForPositionResult withResults(SearchForPositionResult... results) { if (getResults() == null) { this.results = new java.util.ArrayList* Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned. *
** Returns a reference to this object so that method calls can be chained * together. * * @param results
* Returns a list of Places closest to the specified position. * Each result contains additional information about the Places * returned. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchPlaceIndexForPositionResult withResults( java.util.Collection
* Contains a summary of the request. Echoes the input values for
* Position
, Language
, MaxResults
,
* and the DataSource
of the place index.
*
* Contains a summary of the request. Echoes the input values for
* Position
, Language
,
* MaxResults
, and the DataSource
of the
* place index.
*
* Contains a summary of the request. Echoes the input values for
* Position
, Language
, MaxResults
,
* and the DataSource
of the place index.
*
* Contains a summary of the request. Echoes the input values for
* Position
, Language
,
* MaxResults
, and the DataSource
of
* the place index.
*
* Contains a summary of the request. Echoes the input values for
* Position
, Language
, MaxResults
,
* and the DataSource
of the place index.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param summary
* Contains a summary of the request. Echoes the input values for
* Position
, Language
,
* MaxResults
, and the DataSource
of
* the place index.
*