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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteThingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteThingRequest.Builder |
thingName(String thingName)
The name of the thing to delete.
|
build
overrideConfiguration
copy
applyMutation, build
DeleteThingRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DeleteThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.