@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateSoftwareTokenRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateSoftwareTokenRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateSoftwareTokenRequest |
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 generate.
|
String |
getSession()
The session that should be passed both ways in challenge-response calls to the service.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
|
void |
setSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
|
String |
toString()
Returns a string representation of this object.
|
AssociateSoftwareTokenRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
|
AssociateSoftwareTokenRequest |
withSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
|
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 generate.
accessToken
- A valid access token that Amazon Cognito issued to the user whose software token you want to generate.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
public AssociateSoftwareTokenRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
accessToken
- A valid access token that Amazon Cognito issued to the user whose software token you want to generate.public void setSession(String session)
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
session
- The session that should be passed both ways in challenge-response calls to the service. This allows
authentication of the user as part of the MFA setup process.public String getSession()
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
public AssociateSoftwareTokenRequest withSession(String session)
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
session
- The session that should be passed both ways in challenge-response calls to the service. This allows
authentication of the user as part of the MFA setup process.public String toString()
toString
in class Object
Object.toString()
public AssociateSoftwareTokenRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()