public class ConfirmDeviceRequest extends AmazonWebServiceRequest implements Serializable
Confirms tracking of the device. This API call is the call that begins device tracking.
Constructor and Description |
---|
ConfirmDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token.
|
String |
getDeviceKey()
The device key.
|
String |
getDeviceName()
The device name.
|
DeviceSecretVerifierConfigType |
getDeviceSecretVerifierConfig()
The configuration of the device secret verifier.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
void |
setDeviceName(String deviceName)
The device name.
|
void |
setDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmDeviceRequest |
withAccessToken(String accessToken)
The access token.
|
ConfirmDeviceRequest |
withDeviceKey(String deviceKey)
The device key.
|
ConfirmDeviceRequest |
withDeviceName(String deviceName)
The device name.
|
ConfirmDeviceRequest |
withDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
|
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 ConfirmDeviceRequest 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 ConfirmDeviceRequest 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 DeviceSecretVerifierConfigType getDeviceSecretVerifierConfig()
The configuration of the device secret verifier.
The configuration of the device secret verifier.
public void setDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
deviceSecretVerifierConfig
- The configuration of the device secret verifier.
public ConfirmDeviceRequest withDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
Returns a reference to this object so that method calls can be chained together.
deviceSecretVerifierConfig
- The configuration of the device secret verifier.
public String getDeviceName()
The device name.
Constraints:
Length: 1 - 1024
The device name.
public void setDeviceName(String deviceName)
The device name.
Constraints:
Length: 1 - 1024
deviceName
- The device name.
public ConfirmDeviceRequest withDeviceName(String deviceName)
The device name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
deviceName
- The device name.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.