public static interface UpdateThingShadowRequest.Builder extends IoTDataPlaneRequest.Builder, CopyableBuilder<UpdateThingShadowRequest.Builder,UpdateThingShadowRequest>
Modifier and Type | Method and Description |
---|---|
UpdateThingShadowRequest.Builder |
payload(ByteBuffer payload)
The state information, in JSON format.
|
UpdateThingShadowRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateThingShadowRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateThingShadowRequest.Builder |
thingName(String thingName)
The name of the thing.
|
build
requestOverrideConfig
copy
apply, build
UpdateThingShadowRequest.Builder thingName(String thingName)
The name of the thing.
thingName
- The name of the thing.UpdateThingShadowRequest.Builder payload(ByteBuffer payload)
The state information, in JSON format.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
payload
- The state information, in JSON format.UpdateThingShadowRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdateThingShadowRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.