public class GetMapTileRequest extends AmazonWebServiceRequest implements java.io.Serializable
Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
| Constructor and Description |
|---|
GetMapTileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMapName()
The map resource to retrieve the map tiles from.
|
java.lang.String |
getX()
The X axis value for the map tile.
|
java.lang.String |
getY()
The Y axis value for the map tile.
|
java.lang.String |
getZ()
The zoom value for the map tile.
|
int |
hashCode() |
void |
setMapName(java.lang.String mapName)
The map resource to retrieve the map tiles from.
|
void |
setX(java.lang.String x)
The X axis value for the map tile.
|
void |
setY(java.lang.String y)
The Y axis value for the map tile.
|
void |
setZ(java.lang.String z)
The zoom value for the map tile.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMapTileRequest |
withMapName(java.lang.String mapName)
The map resource to retrieve the map tiles from.
|
GetMapTileRequest |
withX(java.lang.String x)
The X axis value for the map tile.
|
GetMapTileRequest |
withY(java.lang.String y)
The Y axis value for the map tile.
|
GetMapTileRequest |
withZ(java.lang.String z)
The zoom value for the map tile.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getMapName()
The map resource to retrieve the map tiles from.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The map resource to retrieve the map tiles from.
public void setMapName(java.lang.String mapName)
The map resource to retrieve the map tiles from.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName - The map resource to retrieve the map tiles from.
public GetMapTileRequest withMapName(java.lang.String mapName)
The map resource to retrieve the map tiles from.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName - The map resource to retrieve the map tiles from.
public java.lang.String getX()
The X axis value for the map tile.
Constraints:
Pattern: \d+
The X axis value for the map tile.
public void setX(java.lang.String x)
The X axis value for the map tile.
Constraints:
Pattern: \d+
x - The X axis value for the map tile.
public GetMapTileRequest withX(java.lang.String x)
The X axis value for the map tile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d+
x - The X axis value for the map tile.
public java.lang.String getY()
The Y axis value for the map tile.
Constraints:
Pattern: \d+
The Y axis value for the map tile.
public void setY(java.lang.String y)
The Y axis value for the map tile.
Constraints:
Pattern: \d+
y - The Y axis value for the map tile.
public GetMapTileRequest withY(java.lang.String y)
The Y axis value for the map tile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d+
y - The Y axis value for the map tile.
public java.lang.String getZ()
The zoom value for the map tile.
Constraints:
Pattern: \d+
The zoom value for the map tile.
public void setZ(java.lang.String z)
The zoom value for the map tile.
Constraints:
Pattern: \d+
z - The zoom value for the map tile.
public GetMapTileRequest withZ(java.lang.String z)
The zoom value for the map tile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \d+
z - The zoom value for the map tile.
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.