public String getKey() {
        return this.key;
    }
<p>
The optional <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">API key</a>
to authorize the request.
</p>

@return The optional <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">API
        key</a> to authorize the request.
aws-java-sdk-location/src/main/java/com/amazonaws/services/location/model/GetMapTileRequest.java