@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()
The access token.
|
String |
getSession()
The session which should be passed both ways in challenge-response calls to the service.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setSession(String session)
The session which 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)
The access token.
|
AssociateSoftwareTokenRequest |
withSession(String session)
The session which 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)
The access token.
accessToken
- The access token.public String getAccessToken()
The access token.
public AssociateSoftwareTokenRequest withAccessToken(String accessToken)
The access token.
accessToken
- The access token.public void setSession(String session)
The session which 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 which 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 which 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 which 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 which 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()