@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()
The access token.
|
String |
getDeviceKey()
The device key.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDeviceRequest |
withAccessToken(String accessToken)
The access token.
|
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, withSdkRequestTimeout
public 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)
The access token.
accessToken
- The access token.public String getAccessToken()
The access token.
public GetDeviceRequest withAccessToken(String accessToken)
The access token.
accessToken
- The access token.public String toString()
toString
in class Object
Object.toString()
public GetDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.