@Generated(value="software.amazon.awssdk:codegen") public final class DeleteThingRequest extends IotRequest implements ToCopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>
The input for the DeleteThing operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteThingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteThingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
expectedVersion()
The expected version of the thing record in the registry.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteThingRequest.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing to delete.
|
DeleteThingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String thingName()
The name of the thing to delete.
public 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.
DeleteThing request is
rejected with a VersionConflictException.public DeleteThingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteThingRequest.Builder,DeleteThingRequest>toBuilder in class IotRequestpublic static DeleteThingRequest.Builder builder()
public static Class<? extends DeleteThingRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.