@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeregisterDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeregisterDeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeregisterDeviceRequest |
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 deregister.
|
String |
getTargetDeviceStatus()
The desired new status for the device.
|
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 deregister.
|
void |
setTargetDeviceStatus(String targetDeviceStatus)
The desired new status for the device.
|
String |
toString()
Returns a string representation of this object.
|
DeregisterDeviceRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
DeregisterDeviceRequest |
withId(String id)
The ID of the device to deregister.
|
DeregisterDeviceRequest |
withTargetDeviceStatus(String targetDeviceStatus)
The desired new status for the device.
|
DeregisterDeviceRequest |
withTargetDeviceStatus(TargetDeviceStatus targetDeviceStatus)
The desired new status for the device.
|
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 deregister.
id - The ID of the device to deregister.public String getId()
The ID of the device to deregister.
public DeregisterDeviceRequest withId(String id)
The ID of the device to deregister.
id - The ID of the device to deregister.public void setTargetDeviceStatus(String targetDeviceStatus)
The desired new status for the device.
targetDeviceStatus - The desired new status for the device.TargetDeviceStatuspublic String getTargetDeviceStatus()
The desired new status for the device.
TargetDeviceStatuspublic DeregisterDeviceRequest withTargetDeviceStatus(String targetDeviceStatus)
The desired new status for the device.
targetDeviceStatus - The desired new status for the device.TargetDeviceStatuspublic DeregisterDeviceRequest withTargetDeviceStatus(TargetDeviceStatus targetDeviceStatus)
The desired new status for the device.
targetDeviceStatus - The desired new status for the device.TargetDeviceStatuspublic 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 DeregisterDeviceRequest 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 DeregisterDeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()