public class GetMapSpritesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON document describing the offsets of individual icons that will be displayed on a rendered map.
| Constructor and Description |
|---|
GetMapSpritesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFileName()
The name of the sprite file.
|
java.lang.String |
getMapName()
The map resource associated with the sprite file.
|
int |
hashCode() |
void |
setFileName(java.lang.String fileName)
The name of the sprite file.
|
void |
setMapName(java.lang.String mapName)
The map resource associated with the sprite file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMapSpritesRequest |
withFileName(java.lang.String fileName)
The name of the sprite file.
|
GetMapSpritesRequest |
withMapName(java.lang.String mapName)
The map resource associated with the sprite file.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getFileName()
The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
Constraints:
Pattern: ^sprites(@2x)?\.(png|json)$
The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
public void setFileName(java.lang.String fileName)
The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
Constraints:
Pattern: ^sprites(@2x)?\.(png|json)$
fileName - The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
public GetMapSpritesRequest withFileName(java.lang.String fileName)
The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^sprites(@2x)?\.(png|json)$
fileName - The name of the sprite file. Use the following file names for the sprite sheet:
sprites.png
sprites@2x.png for high pixel density displays
For the JSON document contain image offsets. Use the following file names:
sprites.json
sprites@2x.json for high pixel density displays
public java.lang.String getMapName()
The map resource associated with the sprite file.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The map resource associated with the sprite file.
public void setMapName(java.lang.String mapName)
The map resource associated with the sprite file.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName - The map resource associated with the sprite file.
public GetMapSpritesRequest withMapName(java.lang.String mapName)
The map resource associated with the sprite file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName - The map resource associated with the sprite file.
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.