@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteThingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the DeleteThing operation.
NOOP
Constructor and Description |
---|
DeleteThingRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteThingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getExpectedVersion()
The expected version of the thing record in the registry.
|
String |
getThingName()
The name of the thing to delete.
|
int |
hashCode() |
void |
setExpectedVersion(Long expectedVersion)
The expected version of the thing record in the registry.
|
void |
setThingName(String thingName)
The name of the thing to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteThingRequest |
withExpectedVersion(Long expectedVersion)
The expected version of the thing record in the registry.
|
DeleteThingRequest |
withThingName(String thingName)
The name of the thing to delete.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setThingName(String thingName)
The name of the thing to delete.
thingName
- The name of the thing to delete.public String getThingName()
The name of the thing to delete.
public DeleteThingRequest withThingName(String thingName)
The name of the thing to delete.
thingName
- The name of the thing to delete.public void setExpectedVersion(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
.public Long getExpectedVersion()
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 withExpectedVersion(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
.public String toString()
toString
in class Object
Object.toString()
public DeleteThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.