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