@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ForgetDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to forget the device.
NOOP| Constructor and Description |
|---|
ForgetDeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
ForgetDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
|
String |
getDeviceKey()
The device key.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
String |
toString()
Returns a string representation of this object.
|
ForgetDeviceRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
|
ForgetDeviceRequest |
withDeviceKey(String deviceKey)
The device key.
|
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 setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
accessToken - A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
public ForgetDeviceRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.
accessToken - A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.public void setDeviceKey(String deviceKey)
The device key.
deviceKey - The device key.public String getDeviceKey()
The device key.
public ForgetDeviceRequest withDeviceKey(String deviceKey)
The device key.
deviceKey - The device key.public String toString()
toString in class ObjectObject.toString()public ForgetDeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()