public class SearchForPositionResult
extends java.lang.Object
implements java.io.Serializable
Specifies a single point of interest, or Place as a result of a search query obtained from a dataset configured in the Place index Resource.
Constructor and Description |
---|
SearchForPositionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Place |
getPlace()
Contains details about the relevant point of interest.
|
int |
hashCode() |
void |
setPlace(Place place)
Contains details about the relevant point of interest.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchForPositionResult |
withPlace(Place place)
Contains details about the relevant point of interest.
|
public Place getPlace()
Contains details about the relevant point of interest.
Contains details about the relevant point of interest.
public void setPlace(Place place)
Contains details about the relevant point of interest.
place
- Contains details about the relevant point of interest.
public SearchForPositionResult withPlace(Place place)
Contains details about the relevant point of interest.
Returns a reference to this object so that method calls can be chained together.
place
- Contains details about the relevant point of interest.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.