@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentLocation extends Object implements Serializable, Cloneable, StructuredPojo
Specifies geographical dimension settings for a segment.
Constructor and Description |
---|
SegmentLocation() |
Modifier and Type | Method and Description |
---|---|
SegmentLocation |
clone() |
boolean |
equals(Object obj) |
SetDimension |
getCountry()
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
|
GPSPointDimension |
getGPSPoint()
The GPS location and range for the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCountry(SetDimension country)
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
|
void |
setGPSPoint(GPSPointDimension gPSPoint)
The GPS location and range for the segment.
|
String |
toString()
Returns a string representation of this object.
|
SegmentLocation |
withCountry(SetDimension country)
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
|
SegmentLocation |
withGPSPoint(GPSPointDimension gPSPoint)
The GPS location and range for the segment.
|
public void setCountry(SetDimension country)
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
country
- The country or region code, in ISO 3166-1 alpha-2 format, for the segment.public SetDimension getCountry()
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
public SegmentLocation withCountry(SetDimension country)
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
country
- The country or region code, in ISO 3166-1 alpha-2 format, for the segment.public void setGPSPoint(GPSPointDimension gPSPoint)
The GPS location and range for the segment.
gPSPoint
- The GPS location and range for the segment.public GPSPointDimension getGPSPoint()
The GPS location and range for the segment.
public SegmentLocation withGPSPoint(GPSPointDimension gPSPoint)
The GPS location and range for the segment.
gPSPoint
- The GPS location and range for the segment.public String toString()
toString
in class Object
Object.toString()
public SegmentLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.