Cloneable
, ReadLimitInfo
, ToCopyableBuilder<UpdateThingShadowRequest.Builder,UpdateThingShadowRequest>
@Generated("software.amazon.awssdk:codegen") public class UpdateThingShadowRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<UpdateThingShadowRequest.Builder,UpdateThingShadowRequest>
The input for the UpdateThingShadow operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
UpdateThingShadowRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static UpdateThingShadowRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
ByteBuffer |
payload() |
The state information, in JSON format.
|
static Class<? extends UpdateThingShadowRequest.Builder> |
serializableBuilderClass() |
|
String |
thingName() |
The name of the thing.
|
UpdateThingShadowRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String thingName()
The name of the thing.
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 UpdateThingShadowRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateThingShadowRequest.Builder,UpdateThingShadowRequest>
public static UpdateThingShadowRequest.Builder builder()
public static Class<? extends UpdateThingShadowRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.