@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()
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
|
String |
getDeviceKey()
The device key.
|
String |
getDeviceRememberedStatus()
The status of whether a device is remembered.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
|
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.
|
UpdateDeviceStatusRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
|
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)
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
accessToken
- A valid access token that Amazon Cognito issued to the user whose device status you want to update.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
public UpdateDeviceStatusRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose device status you want to update.
accessToken
- A valid access token that Amazon Cognito issued to the user whose device status you want to update.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()