@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Position extends Object implements Serializable, Cloneable, StructuredPojo
Information about a position.
Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
Position |
clone() |
boolean |
equals(Object obj) |
Double |
getElevation()
The elevation of the equipment at this position.
|
String |
getElevationReference()
The reference point from which elevation is reported.
|
String |
getElevationUnit()
The units used to measure the elevation of the position.
|
Double |
getLatitude()
The latitude of the position.
|
Double |
getLongitude()
The longitude of the position.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setElevation(Double elevation)
The elevation of the equipment at this position.
|
void |
setElevationReference(String elevationReference)
The reference point from which elevation is reported.
|
void |
setElevationUnit(String elevationUnit)
The units used to measure the elevation of the position.
|
void |
setLatitude(Double latitude)
The latitude of the position.
|
void |
setLongitude(Double longitude)
The longitude of the position.
|
String |
toString()
Returns a string representation of this object.
|
Position |
withElevation(Double elevation)
The elevation of the equipment at this position.
|
Position |
withElevationReference(ElevationReference elevationReference)
The reference point from which elevation is reported.
|
Position |
withElevationReference(String elevationReference)
The reference point from which elevation is reported.
|
Position |
withElevationUnit(ElevationUnit elevationUnit)
The units used to measure the elevation of the position.
|
Position |
withElevationUnit(String elevationUnit)
The units used to measure the elevation of the position.
|
Position |
withLatitude(Double latitude)
The latitude of the position.
|
Position |
withLongitude(Double longitude)
The longitude of the position.
|
public void setElevation(Double elevation)
The elevation of the equipment at this position.
elevation
- The elevation of the equipment at this position.public Double getElevation()
The elevation of the equipment at this position.
public Position withElevation(Double elevation)
The elevation of the equipment at this position.
elevation
- The elevation of the equipment at this position.public void setElevationReference(String elevationReference)
The reference point from which elevation is reported.
elevationReference
- The reference point from which elevation is reported.ElevationReference
public String getElevationReference()
The reference point from which elevation is reported.
ElevationReference
public Position withElevationReference(String elevationReference)
The reference point from which elevation is reported.
elevationReference
- The reference point from which elevation is reported.ElevationReference
public Position withElevationReference(ElevationReference elevationReference)
The reference point from which elevation is reported.
elevationReference
- The reference point from which elevation is reported.ElevationReference
public void setElevationUnit(String elevationUnit)
The units used to measure the elevation of the position.
elevationUnit
- The units used to measure the elevation of the position.ElevationUnit
public String getElevationUnit()
The units used to measure the elevation of the position.
ElevationUnit
public Position withElevationUnit(String elevationUnit)
The units used to measure the elevation of the position.
elevationUnit
- The units used to measure the elevation of the position.ElevationUnit
public Position withElevationUnit(ElevationUnit elevationUnit)
The units used to measure the elevation of the position.
elevationUnit
- The units used to measure the elevation of the position.ElevationUnit
public void setLatitude(Double latitude)
The latitude of the position.
latitude
- The latitude of the position.public Double getLatitude()
The latitude of the position.
public Position withLatitude(Double latitude)
The latitude of the position.
latitude
- The latitude of the position.public void setLongitude(Double longitude)
The longitude of the position.
longitude
- The longitude of the position.public Double getLongitude()
The longitude of the position.
public Position withLongitude(Double longitude)
The longitude of the position.
longitude
- The longitude of the position.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.