@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteDeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getId()
The ID of the device to delete.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setId(String id)
The ID of the device to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDeviceRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
DeleteDeviceRequest |
withId(String id)
The ID of the device 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, withSdkRequestTimeoutpublic void setId(String id)
The ID of the device to delete.
id - The ID of the device to delete.public String getId()
The ID of the device to delete.
public DeleteDeviceRequest withId(String id)
The ID of the device to delete.
id - The ID of the device to delete.public void setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails
with an IdempotentParameterMismatch error.
clientToken - Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the
retry fails with an IdempotentParameterMismatch error.
public String getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails
with an IdempotentParameterMismatch error.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the
retry fails with an IdempotentParameterMismatch error.
public DeleteDeviceRequest withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails
with an IdempotentParameterMismatch error.
clientToken - Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the
retry fails with an IdempotentParameterMismatch error.
public String toString()
toString in class ObjectObject.toString()public DeleteDeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()