public class SegmentLocation extends Object implements Serializable
| Constructor and Description |
|---|
SegmentLocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SetDimension |
getCountry()
The country or region, in ISO 3166-1 alpha-2 format.
|
GPSPointDimension |
getGPSPoint()
The GPS Point dimension.
|
int |
hashCode() |
void |
setCountry(SetDimension country)
The country or region, in ISO 3166-1 alpha-2 format.
|
void |
setGPSPoint(GPSPointDimension gPSPoint)
The GPS Point dimension.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentLocation |
withCountry(SetDimension country)
The country or region, in ISO 3166-1 alpha-2 format.
|
SegmentLocation |
withGPSPoint(GPSPointDimension gPSPoint)
The GPS Point dimension.
|
public SetDimension getCountry()
public void setCountry(SetDimension country)
country - The country or region, in ISO 3166-1 alpha-2 format.public SegmentLocation withCountry(SetDimension country)
Returns a reference to this object so that method calls can be chained together.
country - The country or region, in ISO 3166-1 alpha-2 format.public GPSPointDimension getGPSPoint()
public void setGPSPoint(GPSPointDimension gPSPoint)
gPSPoint - The GPS Point dimension.public SegmentLocation withGPSPoint(GPSPointDimension gPSPoint)
Returns a reference to this object so that method calls can be chained together.
gPSPoint - The GPS Point dimension.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.