public class GetMapTileResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetMapTileResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getBlob()
Contains Mapbox Vector Tile (MVT) data.
|
java.lang.String |
getContentType()
The map tile's content type.
|
int |
hashCode() |
void |
setBlob(java.nio.ByteBuffer blob)
Contains Mapbox Vector Tile (MVT) data.
|
void |
setContentType(java.lang.String contentType)
The map tile's content type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMapTileResult |
withBlob(java.nio.ByteBuffer blob)
Contains Mapbox Vector Tile (MVT) data.
|
GetMapTileResult |
withContentType(java.lang.String contentType)
The map tile's content type.
|
public java.nio.ByteBuffer getBlob()
Contains Mapbox Vector Tile (MVT) data.
Contains Mapbox Vector Tile (MVT) data.
public void setBlob(java.nio.ByteBuffer blob)
Contains Mapbox Vector Tile (MVT) data.
blob
- Contains Mapbox Vector Tile (MVT) data.
public GetMapTileResult withBlob(java.nio.ByteBuffer blob)
Contains Mapbox Vector Tile (MVT) data.
Returns a reference to this object so that method calls can be chained together.
blob
- Contains Mapbox Vector Tile (MVT) data.
public java.lang.String getContentType()
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
public void setContentType(java.lang.String contentType)
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
contentType
-
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
public GetMapTileResult withContentType(java.lang.String contentType)
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
Returns a reference to this object so that method calls can be chained together.
contentType
-
The map tile's content type. For example,
application/vnd.mapbox-vector-tile
.
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.