public class UpdateDeviceStatusRequest extends AmazonWebServiceRequest implements Serializable
Updates the device status.
Constructor and Description |
---|
UpdateDeviceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getAccessToken()
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token.
public void setAccessToken(String accessToken)
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- The access token.
public UpdateDeviceStatusRequest withAccessToken(String accessToken)
The access token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- The access token.
public String getDeviceKey()
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
The device key.
public void setDeviceKey(String deviceKey)
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey
- The device key.
public UpdateDeviceStatusRequest withDeviceKey(String deviceKey)
The device key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey
- The device key.
public String getDeviceRememberedStatus()
The status of whether a device is remembered.
Constraints:
Allowed Values: remembered, not_remembered
The status of whether a device is remembered.
DeviceRememberedStatusType
public void setDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
Constraints:
Allowed Values: remembered, not_remembered
deviceRememberedStatus
- The status of whether a device is remembered.
DeviceRememberedStatusType
public UpdateDeviceStatusRequest withDeviceRememberedStatus(String deviceRememberedStatus)
The status of whether a device is remembered.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: remembered, not_remembered
deviceRememberedStatus
- The status of whether a device is remembered.
DeviceRememberedStatusType
public void setDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
Constraints:
Allowed Values: remembered, not_remembered
deviceRememberedStatus
- The status of whether a device is remembered.
DeviceRememberedStatusType
public UpdateDeviceStatusRequest withDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status of whether a device is remembered.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: remembered, not_remembered
deviceRememberedStatus
- The status of whether a device is remembered.
DeviceRememberedStatusType
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.