@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateSoftwareTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssociateSoftwareTokenResult() |
Modifier and Type | Method and Description |
---|---|
AssociateSoftwareTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getSecretCode()
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
|
String |
getSession()
The session that should be passed both ways in challenge-response calls to the service.
|
int |
hashCode() |
void |
setSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
|
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.
|
AssociateSoftwareTokenResult |
withSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
|
AssociateSoftwareTokenResult |
withSession(String session)
The session that should be passed both ways in challenge-response calls to the service.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
secretCode
- A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.public String getSecretCode()
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
public AssociateSoftwareTokenResult withSecretCode(String secretCode)
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
secretCode
- A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.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 AssociateSoftwareTokenResult 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 AssociateSoftwareTokenResult clone()
Copyright © 2023. All rights reserved.