@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeviceStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update the device status.
NOOP
Constructor and Description |
---|
UpdateDeviceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDeviceStatusRequest |
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.
|
String |
getDeviceRememberedStatus()
The status of whether a device is remembered.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
void |
setDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
|
void |
setDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateDeviceStatusRequest |
withAccessToken(String accessToken)
The access token.
|
UpdateDeviceStatusRequest |
withDeviceKey(String deviceKey)
The device key.
|
UpdateDeviceStatusRequest |
withDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
|
UpdateDeviceStatusRequest |
withDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
|
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 setAccessToken(String accessToken)
The access token.
accessToken
- The access token.public String getAccessToken()
The access token.
public UpdateDeviceStatusRequest withAccessToken(String accessToken)
The access token.
accessToken
- The access token.public void setDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public String getDeviceKey()
The device key.
public UpdateDeviceStatusRequest withDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public void setDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
deviceRememberedStatus
- The status of whether a device is remembered.DeviceRememberedStatusType
public String getDeviceRememberedStatus()
The status of whether a device is remembered.
DeviceRememberedStatusType
public UpdateDeviceStatusRequest withDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
deviceRememberedStatus
- The status of whether a device is remembered.DeviceRememberedStatusType
public void setDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
deviceRememberedStatus
- The status of whether a device is remembered.DeviceRememberedStatusType
public UpdateDeviceStatusRequest withDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
deviceRememberedStatus
- The status of whether a device is remembered.DeviceRememberedStatusType
public String toString()
toString
in class Object
Object.toString()
public UpdateDeviceStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.