public class GetMapSpritesResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetMapSpritesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getBlob()
Contains the body of the sprite sheet or JSON offset file.
|
java.lang.String |
getContentType()
The content type of the sprite sheet and offsets.
|
int |
hashCode() |
void |
setBlob(java.nio.ByteBuffer blob)
Contains the body of the sprite sheet or JSON offset file.
|
void |
setContentType(java.lang.String contentType)
The content type of the sprite sheet and offsets.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMapSpritesResult |
withBlob(java.nio.ByteBuffer blob)
Contains the body of the sprite sheet or JSON offset file.
|
GetMapSpritesResult |
withContentType(java.lang.String contentType)
The content type of the sprite sheet and offsets.
|
public java.nio.ByteBuffer getBlob()
Contains the body of the sprite sheet or JSON offset file.
Contains the body of the sprite sheet or JSON offset file.
public void setBlob(java.nio.ByteBuffer blob)
Contains the body of the sprite sheet or JSON offset file.
blob - Contains the body of the sprite sheet or JSON offset file.
public GetMapSpritesResult withBlob(java.nio.ByteBuffer blob)
Contains the body of the sprite sheet or JSON offset file.
Returns a reference to this object so that method calls can be chained together.
blob - Contains the body of the sprite sheet or JSON offset file.
public java.lang.String getContentType()
The content type of the sprite sheet and offsets. For example, the sprite
sheet content type is image/png, and the sprite offset JSON
document is application/json.
The content type of the sprite sheet and offsets. For example,
the sprite sheet content type is image/png, and the
sprite offset JSON document is application/json.
public void setContentType(java.lang.String contentType)
The content type of the sprite sheet and offsets. For example, the sprite
sheet content type is image/png, and the sprite offset JSON
document is application/json.
contentType -
The content type of the sprite sheet and offsets. For example,
the sprite sheet content type is image/png, and
the sprite offset JSON document is
application/json.
public GetMapSpritesResult withContentType(java.lang.String contentType)
The content type of the sprite sheet and offsets. For example, the sprite
sheet content type is image/png, and the sprite offset JSON
document is application/json.
Returns a reference to this object so that method calls can be chained together.
contentType -
The content type of the sprite sheet and offsets. For example,
the sprite sheet content type is image/png, and
the sprite offset JSON document is
application/json.
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.