CopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
, SdkBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
public static interface DeleteThingRequest.Builder extends CopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
Modifier and Type | Method | Description |
---|---|---|
DeleteThingRequest.Builder |
expectedVersion(Long expectedVersion) |
The expected version of the thing record in the registry.
|
DeleteThingRequest.Builder |
thingName(String thingName) |
The name of the thing to delete.
|
copy
apply, 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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.