Class Location
java.lang.Object
com.amazonaws.services.devicefarm.model.Location
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491).
Elevation is currently not supported.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The latitude.The longitude.int
hashCode()
void
setLatitude
(Double latitude) The latitude.void
setLongitude
(Double longitude) The longitude.toString()
Returns a string representation of this object; useful for testing and debugging.withLatitude
(Double latitude) The latitude.withLongitude
(Double longitude) The longitude.
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
setLatitude
The latitude.
- Parameters:
latitude
- The latitude.
-
getLatitude
The latitude.
- Returns:
- The latitude.
-
withLatitude
The latitude.
- Parameters:
latitude
- The latitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLongitude
The longitude.
- Parameters:
longitude
- The longitude.
-
getLongitude
The longitude.
- Returns:
- The longitude.
-
withLongitude
The longitude.
- Parameters:
longitude
- The longitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-