public class SegmentLocation
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
SegmentLocation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.