public class RespondToAuthChallengeRequest extends AmazonWebServiceRequest implements Serializable
Responds to the authentication challenge.
| Constructor and Description |
|---|
RespondToAuthChallengeRequest() |
| Modifier and Type | Method and Description |
|---|---|
RespondToAuthChallengeRequest |
addChallengeResponsesEntry(String key,
String value)
The responses to the authentication challenge.
|
RespondToAuthChallengeRequest |
clearChallengeResponsesEntries()
Removes all the entries added into ChallengeResponses.
|
boolean |
equals(Object obj) |
AnalyticsMetadataType |
getAnalyticsMetadata()
The pinpoint installation id.
|
String |
getChallengeName()
The name of the challenge.
|
Map<String,String> |
getChallengeResponses()
The responses to the authentication challenge.
|
String |
getClientId()
The client ID.
|
String |
getSession()
The session.
|
UserContextDataType |
getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
|
int |
hashCode() |
void |
setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
void |
setChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
void |
setChallengeName(String challengeName)
The name of the challenge.
|
void |
setChallengeResponses(Map<String,String> challengeResponses)
The responses to the authentication challenge.
|
void |
setClientId(String clientId)
The client ID.
|
void |
setSession(String session)
The session.
|
void |
setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondToAuthChallengeRequest |
withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
RespondToAuthChallengeRequest |
withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
RespondToAuthChallengeRequest |
withChallengeName(String challengeName)
The name of the challenge.
|
RespondToAuthChallengeRequest |
withChallengeResponses(Map<String,String> challengeResponses)
The responses to the authentication challenge.
|
RespondToAuthChallengeRequest |
withClientId(String clientId)
The client ID.
|
RespondToAuthChallengeRequest |
withSession(String session)
The session.
|
RespondToAuthChallengeRequest |
withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getClientId()
The client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
The client ID.
public void setClientId(String clientId)
The client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID.
public RespondToAuthChallengeRequest withClientId(String clientId)
The client ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID.
public String getChallengeName()
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
The name of the challenge.
ChallengeNameTypepublic void setChallengeName(String challengeName)
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic RespondToAuthChallengeRequest withChallengeName(String challengeName)
The name of the challenge.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic void setChallengeName(ChallengeNameType challengeName)
The name of the challenge.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic RespondToAuthChallengeRequest withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SMS_MFA, PASSWORD_VERIFIER, CUSTOM_CHALLENGE,
DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH,
NEW_PASSWORD_REQUIRED
challengeName - The name of the challenge.
ChallengeNameTypepublic String getSession()
The session.
Constraints:
Length: 20 - 2048
The session.
public void setSession(String session)
The session.
Constraints:
Length: 20 - 2048
session - The session.
public RespondToAuthChallengeRequest withSession(String session)
The session.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
session - The session.
public Map<String,String> getChallengeResponses()
The responses to the authentication challenge.
The responses to the authentication challenge.
public void setChallengeResponses(Map<String,String> challengeResponses)
The responses to the authentication challenge.
challengeResponses - The responses to the authentication challenge.
public RespondToAuthChallengeRequest withChallengeResponses(Map<String,String> challengeResponses)
The responses to the authentication challenge.
Returns a reference to this object so that method calls can be chained together.
challengeResponses - The responses to the authentication challenge.
public RespondToAuthChallengeRequest addChallengeResponsesEntry(String key, String value)
The responses to the authentication challenge.
The method adds a new key-value pair into ChallengeResponses parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ChallengeResponses.value - The corresponding value of the entry to be added into
ChallengeResponses.public RespondToAuthChallengeRequest clearChallengeResponsesEntries()
Returns a reference to this object so that method calls can be chained together.
public UserContextDataType getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
Base64 encoded string for user context data collected for risk evaluation
public void setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
userContextData - Base64 encoded string for user context data collected for risk evaluation
public RespondToAuthChallengeRequest withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
Returns a reference to this object so that method calls can be chained together.
userContextData - Base64 encoded string for user context data collected for risk evaluation
public AnalyticsMetadataType getAnalyticsMetadata()
The pinpoint installation id.
The pinpoint installation id.
public void setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
analyticsMetadata - The pinpoint installation id.
public RespondToAuthChallengeRequest withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
Returns a reference to this object so that method calls can be chained together.
analyticsMetadata - The pinpoint installation id.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.