public static interface DeleteThingRequest.Builder extends IoTRequest.Builder, CopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
| Modifier and Type | Method and Description |
|---|---|
DeleteThingRequest.Builder |
expectedVersion(Long expectedVersion)
The expected version of the thing record in the registry.
|
DeleteThingRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DeleteThingRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteThingRequest.Builder |
thingName(String thingName)
The name of the thing to delete.
|
buildrequestOverrideConfigcopyapply, buildDeleteThingRequest.Builder thingName(String thingName)
The name of the thing to delete.
thingName - The name of the thing to delete.DeleteThingRequest.Builder expectedVersion(Long expectedVersion)
The expected version of the thing record in the registry. If the version of the record in the registry does
not match the expected version specified in the request, the DeleteThing request is rejected
with a VersionConflictException.
expectedVersion - The expected version of the thing record in the registry. If the version of the record in the registry
does not match the expected version specified in the request, the DeleteThing request is
rejected with a VersionConflictException.DeleteThingRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.DeleteThingRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.