ToCopyableBuilder<GetThingShadowResponse.Builder,GetThingShadowResponse>
@Generated("software.amazon.awssdk:codegen") public class GetThingShadowResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetThingShadowResponse.Builder,GetThingShadowResponse>
The output from the GetThingShadow operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetThingShadowResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetThingShadowResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
ByteBuffer |
payload() |
The state information, in JSON format.
|
static Class<? extends GetThingShadowResponse.Builder> |
serializableBuilderClass() |
|
GetThingShadowResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public ByteBuffer payload()
The state information, in JSON format.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public GetThingShadowResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetThingShadowResponse.Builder,GetThingShadowResponse>
public static GetThingShadowResponse.Builder builder()
public static Class<? extends GetThingShadowResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.