@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifySoftwareTokenRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
VerifySoftwareTokenRequest() |
Modifier and Type | Method and Description |
---|---|
VerifySoftwareTokenRequest |
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 software token you want to verify.
|
String |
getFriendlyDeviceName()
The friendly device name.
|
String |
getSession()
The session that should be passed both ways in challenge-response calls to the service.
|
String |
getUserCode()
The one- time password computed using the secret code returned by AssociateSoftwareToken.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to verify.
|
void |
setFriendlyDeviceName(String friendlyDeviceName)
The friendly device name.
|
void |
setSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
|
void |
setUserCode(String userCode)
The one- time password computed using the secret code returned by AssociateSoftwareToken.
|
String |
toString()
Returns a string representation of this object.
|
VerifySoftwareTokenRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to verify.
|
VerifySoftwareTokenRequest |
withFriendlyDeviceName(String friendlyDeviceName)
The friendly device name.
|
VerifySoftwareTokenRequest |
withSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
|
VerifySoftwareTokenRequest |
withUserCode(String userCode)
The one- time password computed using the secret code returned by AssociateSoftwareToken.
|
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 software token you want to verify.
accessToken
- A valid access token that Amazon Cognito issued to the user whose software token you want to verify.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose software token you want to verify.
public VerifySoftwareTokenRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to verify.
accessToken
- A valid access token that Amazon Cognito issued to the user whose software token you want to verify.public void setSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
session
- The session that should be passed both ways in challenge-response calls to the service.public String getSession()
The session that should be passed both ways in challenge-response calls to the service.
public VerifySoftwareTokenRequest withSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
session
- The session that should be passed both ways in challenge-response calls to the service.public void setUserCode(String userCode)
The one- time password computed using the secret code returned by AssociateSoftwareToken.
userCode
- The one- time password computed using the secret code returned by AssociateSoftwareToken.public String getUserCode()
The one- time password computed using the secret code returned by AssociateSoftwareToken.
public VerifySoftwareTokenRequest withUserCode(String userCode)
The one- time password computed using the secret code returned by AssociateSoftwareToken.
userCode
- The one- time password computed using the secret code returned by AssociateSoftwareToken.public void setFriendlyDeviceName(String friendlyDeviceName)
The friendly device name.
friendlyDeviceName
- The friendly device name.public String getFriendlyDeviceName()
The friendly device name.
public VerifySoftwareTokenRequest withFriendlyDeviceName(String friendlyDeviceName)
The friendly device name.
friendlyDeviceName
- The friendly device name.public String toString()
toString
in class Object
Object.toString()
public VerifySoftwareTokenRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()