public class GetMapGlyphsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Retrieves glyphs used to display labels on a map.
Constructor and Description |
---|
GetMapGlyphsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFontStack()
A comma-separated list of fonts to load glyphs from in order of
preference..
|
java.lang.String |
getFontUnicodeRange()
A Unicode range of characters to download glyphs for.
|
java.lang.String |
getMapName()
The map resource associated with the glyph file.
|
int |
hashCode() |
void |
setFontStack(java.lang.String fontStack)
A comma-separated list of fonts to load glyphs from in order of
preference..
|
void |
setFontUnicodeRange(java.lang.String fontUnicodeRange)
A Unicode range of characters to download glyphs for.
|
void |
setMapName(java.lang.String mapName)
The map resource associated with the glyph file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMapGlyphsRequest |
withFontStack(java.lang.String fontStack)
A comma-separated list of fonts to load glyphs from in order of
preference..
|
GetMapGlyphsRequest |
withFontUnicodeRange(java.lang.String fontUnicodeRange)
A Unicode range of characters to download glyphs for.
|
GetMapGlyphsRequest |
withMapName(java.lang.String mapName)
The map resource associated with the glyph file.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getFontStack()
A comma-separated list of fonts to load glyphs from in order of
preference.. For example, Noto Sans, Arial Unicode
.
A comma-separated list of fonts to load glyphs from in order of
preference.. For example, Noto Sans, Arial Unicode
.
public void setFontStack(java.lang.String fontStack)
A comma-separated list of fonts to load glyphs from in order of
preference.. For example, Noto Sans, Arial Unicode
.
fontStack
-
A comma-separated list of fonts to load glyphs from in order
of preference.. For example,
Noto Sans, Arial Unicode
.
public GetMapGlyphsRequest withFontStack(java.lang.String fontStack)
A comma-separated list of fonts to load glyphs from in order of
preference.. For example, Noto Sans, Arial Unicode
.
Returns a reference to this object so that method calls can be chained together.
fontStack
-
A comma-separated list of fonts to load glyphs from in order
of preference.. For example,
Noto Sans, Arial Unicode
.
public java.lang.String getFontUnicodeRange()
A Unicode range of characters to download glyphs for. Each response will
contain 256 characters. For example, 0-255 includes all characters from
range U+0000
to 00FF
. Must be aligned to
multiples of 256.
Constraints:
Pattern: ^[0-9]+-[0-9]+\.pbf$
A Unicode range of characters to download glyphs for. Each
response will contain 256 characters. For example, 0-255 includes
all characters from range U+0000
to
00FF
. Must be aligned to multiples of 256.
public void setFontUnicodeRange(java.lang.String fontUnicodeRange)
A Unicode range of characters to download glyphs for. Each response will
contain 256 characters. For example, 0-255 includes all characters from
range U+0000
to 00FF
. Must be aligned to
multiples of 256.
Constraints:
Pattern: ^[0-9]+-[0-9]+\.pbf$
fontUnicodeRange
-
A Unicode range of characters to download glyphs for. Each
response will contain 256 characters. For example, 0-255
includes all characters from range U+0000
to
00FF
. Must be aligned to multiples of 256.
public GetMapGlyphsRequest withFontUnicodeRange(java.lang.String fontUnicodeRange)
A Unicode range of characters to download glyphs for. Each response will
contain 256 characters. For example, 0-255 includes all characters from
range U+0000
to 00FF
. Must be aligned to
multiples of 256.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^[0-9]+-[0-9]+\.pbf$
fontUnicodeRange
-
A Unicode range of characters to download glyphs for. Each
response will contain 256 characters. For example, 0-255
includes all characters from range U+0000
to
00FF
. Must be aligned to multiples of 256.
public java.lang.String getMapName()
The map resource associated with the glyph file.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The map resource associated with the glyph file.
public void setMapName(java.lang.String mapName)
The map resource associated with the glyph file.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName
- The map resource associated with the glyph file.
public GetMapGlyphsRequest withMapName(java.lang.String mapName)
The map resource associated with the glyph 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 glyph file.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.