All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.location.model.GetMapGlyphsRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Location module holds the client classes that are used for communicating with Amazon Location Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.location.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetMapGlyphsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The map resource associated with the glyph file. *

*/ private String mapName; /** *

* A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode. *

*

* Valid font stacks for Esri * styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light * | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps * styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium * | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open * Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs * but Noto Sans for glyphs unsupported by Amazon Ember. *

*
*/ private String fontStack; /** *

* 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. *

*/ private String fontUnicodeRange; /** *

* The optional API key * to authorize the request. *

*/ private String key; /** *

* The map resource associated with the glyph file. *

* * @param mapName * The map resource associated with the glyph file. */ public void setMapName(String mapName) { this.mapName = mapName; } /** *

* The map resource associated with the glyph file. *

* * @return The map resource associated with the glyph file. */ public String getMapName() { return this.mapName; } /** *

* The map resource associated with the glyph file. *

* * @param mapName * The map resource associated with the glyph file. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMapGlyphsRequest withMapName(String mapName) { setMapName(mapName); return this; } /** *

* A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode. *

*

* Valid font stacks for Esri * styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light * | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps * styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium * | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open * Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs * but Noto Sans for glyphs unsupported by Amazon Ember. *

*
* * @param fontStack * A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode.

*

* Valid font stacks for Esri styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | * Ubuntu Light | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | * Noto Sans Medium | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most * glyphs but Noto Sans for glyphs unsupported by Amazon Ember. *

*/ public void setFontStack(String fontStack) { this.fontStack = fontStack; } /** *

* A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode. *

*

* Valid font stacks for Esri * styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light * | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps * styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium * | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open * Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs * but Noto Sans for glyphs unsupported by Amazon Ember. *

*
* * @return A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode.

*

* Valid font stacks for Esri styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | * Ubuntu Light | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | * Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | * Noto Sans Medium | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most * glyphs but Noto Sans for glyphs unsupported by Amazon Ember. *

*/ public String getFontStack() { return this.fontStack; } /** *

* A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode. *

*

* Valid font stacks for Esri * styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light * | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps * styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium * | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open * Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs * but Noto Sans for glyphs unsupported by Amazon Ember. *

*
* * @param fontStack * A comma-separated list of fonts to load glyphs from in order of preference. For example, * Noto Sans Regular, Arial Unicode.

*

* Valid font stacks for Esri styles: *

*
    *
  • *

    * VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | * Ubuntu Italic | Ubuntu Regular | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | * Ubuntu Light | Ubuntu Bold *

    *
  • *
  • *

    * VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | * Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic *

    *
  • *
  • *

    * VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
  • *

    * VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold *

    *
  • *
*

* Valid font stacks for HERE * Technologies styles: *

*
    *
  • *

    * VectorHereContrast – Fira GO Regular | Fira GO Bold *

    *
  • *
  • *

    * VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | * Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | * Noto Sans CJK JP Light | Noto Sans CJK JP Regular *

    *
  • *
*

* Valid font stacks for GrabMaps styles: *

*
    *
  • *

    * VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | * Noto Sans Medium | Noto Sans Bold *

    *
  • *
*

* Valid font stacks for Open Data styles: *

*
    *
  • *

    * VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, * VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | * Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | * Amazon Ember Regular Italic,Noto Sans Italic | * Amazon Ember Condensed RC Regular,Noto Sans Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold | * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium *

    *
  • *
* *

* The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most * glyphs but Noto Sans for glyphs unsupported by Amazon Ember. *

* @return Returns a reference to this object so that method calls can be chained together. */ public GetMapGlyphsRequest withFontStack(String fontStack) { setFontStack(fontStack); return this; } /** *

* 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. *

* * @param 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 void setFontUnicodeRange(String fontUnicodeRange) { this.fontUnicodeRange = 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. *

* * @return 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 String getFontUnicodeRange() { return this.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. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMapGlyphsRequest withFontUnicodeRange(String fontUnicodeRange) { setFontUnicodeRange(fontUnicodeRange); return this; } /** *

* The optional API key * to authorize the request. *

* * @param key * The optional API * key to authorize the request. */ public void setKey(String key) { this.key = key; } /** *

* The optional API key * to authorize the request. *

* * @return The optional API * key to authorize the request. */ public String getKey() { return this.key; } /** *

* The optional API key * to authorize the request. *

* * @param key * The optional API * key to authorize the request. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMapGlyphsRequest withKey(String key) { setKey(key); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getMapName() != null) sb.append("MapName: ").append(getMapName()).append(","); if (getFontStack() != null) sb.append("FontStack: ").append(getFontStack()).append(","); if (getFontUnicodeRange() != null) sb.append("FontUnicodeRange: ").append(getFontUnicodeRange()).append(","); if (getKey() != null) sb.append("Key: ").append("***Sensitive Data Redacted***"); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetMapGlyphsRequest == false) return false; GetMapGlyphsRequest other = (GetMapGlyphsRequest) obj; if (other.getMapName() == null ^ this.getMapName() == null) return false; if (other.getMapName() != null && other.getMapName().equals(this.getMapName()) == false) return false; if (other.getFontStack() == null ^ this.getFontStack() == null) return false; if (other.getFontStack() != null && other.getFontStack().equals(this.getFontStack()) == false) return false; if (other.getFontUnicodeRange() == null ^ this.getFontUnicodeRange() == null) return false; if (other.getFontUnicodeRange() != null && other.getFontUnicodeRange().equals(this.getFontUnicodeRange()) == false) return false; if (other.getKey() == null ^ this.getKey() == null) return false; if (other.getKey() != null && other.getKey().equals(this.getKey()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMapName() == null) ? 0 : getMapName().hashCode()); hashCode = prime * hashCode + ((getFontStack() == null) ? 0 : getFontStack().hashCode()); hashCode = prime * hashCode + ((getFontUnicodeRange() == null) ? 0 : getFontUnicodeRange().hashCode()); hashCode = prime * hashCode + ((getKey() == null) ? 0 : getKey().hashCode()); return hashCode; } @Override public GetMapGlyphsRequest clone() { return (GetMapGlyphsRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy