@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfirmDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Confirms the device request.
NOOP| Constructor and Description | 
|---|
| ConfirmDeviceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfirmDeviceRequest | 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 you want to confirm. | 
| 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)
 A valid access token that Amazon Cognito issued to the user whose device you want to confirm. | 
| 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. | 
| ConfirmDeviceRequest | withAccessToken(String accessToken)
 A valid access token that Amazon Cognito issued to the user whose device you want to confirm. | 
| 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. | 
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, withSdkRequestTimeoutpublic void setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose device you want to confirm.
accessToken - A valid access token that Amazon Cognito issued to the user whose device you want to confirm.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose device you want to confirm.
public ConfirmDeviceRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose device you want to confirm.
accessToken - A valid access token that Amazon Cognito issued to the user whose device you want to confirm.public void setDeviceKey(String deviceKey)
The device key.
deviceKey - The device key.public String getDeviceKey()
The device key.
public ConfirmDeviceRequest withDeviceKey(String deviceKey)
The device key.
deviceKey - The device key.public void setDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
deviceSecretVerifierConfig - The configuration of the device secret verifier.public DeviceSecretVerifierConfigType getDeviceSecretVerifierConfig()
The configuration of the device secret verifier.
public ConfirmDeviceRequest withDeviceSecretVerifierConfig(DeviceSecretVerifierConfigType deviceSecretVerifierConfig)
The configuration of the device secret verifier.
deviceSecretVerifierConfig - The configuration of the device secret verifier.public void setDeviceName(String deviceName)
The device name.
deviceName - The device name.public String getDeviceName()
The device name.
public ConfirmDeviceRequest withDeviceName(String deviceName)
The device name.
deviceName - The device name.public String toString()
toString in class ObjectObject.toString()public ConfirmDeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()