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