@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminRespondToAuthChallengeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Responds to the authentication challenge, as an administrator.
Constructor and Description |
---|
AdminRespondToAuthChallengeResult() |
Modifier and Type | Method and Description |
---|---|
AdminRespondToAuthChallengeResult |
addChallengeParametersEntry(String key,
String value) |
AdminRespondToAuthChallengeResult |
clearChallengeParametersEntries()
Removes all the entries added into ChallengeParameters.
|
AdminRespondToAuthChallengeResult |
clone() |
boolean |
equals(Object obj) |
AuthenticationResultType |
getAuthenticationResult()
The result returned by the server in response to the authentication request.
|
String |
getChallengeName()
The name of the challenge.
|
Map<String,String> |
getChallengeParameters()
The challenge parameters.
|
String |
getSession()
The session which should be passed both ways in challenge-response calls to the service.
|
int |
hashCode() |
void |
setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
|
void |
setChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
void |
setChallengeName(String challengeName)
The name of the challenge.
|
void |
setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
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; useful for testing and debugging.
|
AdminRespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
|
AdminRespondToAuthChallengeResult |
withChallengeName(ChallengeNameType challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeName(String challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
AdminRespondToAuthChallengeResult |
withSession(String session)
The session which should be passed both ways in challenge-response calls to the service.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChallengeName(String challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
challengeName
- The name of the challenge. For more information, see AdminInitiateAuth.ChallengeNameType
public String getChallengeName()
The name of the challenge. For more information, see AdminInitiateAuth.
ChallengeNameType
public AdminRespondToAuthChallengeResult withChallengeName(String challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
challengeName
- The name of the challenge. For more information, see AdminInitiateAuth.ChallengeNameType
public void setChallengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
challengeName
- The name of the challenge. For more information, see AdminInitiateAuth.ChallengeNameType
public AdminRespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
challengeName
- The name of the challenge. For more information, see AdminInitiateAuth.ChallengeNameType
public void setSession(String session)
The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go
through another challenge, they return a session with other challenge parameters. This session should be passed
as it is to the next RespondToAuthChallenge
API call.
session
- The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller
needs to go through another challenge, they return a session with other challenge parameters. This session
should be passed as it is to the next RespondToAuthChallenge
API call.public String getSession()
The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go
through another challenge, they return a session with other challenge parameters. This session should be passed
as it is to the next RespondToAuthChallenge
API call.
RespondToAuthChallenge
API call.public AdminRespondToAuthChallengeResult withSession(String session)
The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go
through another challenge, they return a session with other challenge parameters. This session should be passed
as it is to the next RespondToAuthChallenge
API call.
session
- The session which should be passed both ways in challenge-response calls to the service. If the InitiateAuth or RespondToAuthChallenge API call determines that the caller
needs to go through another challenge, they return a session with other challenge parameters. This session
should be passed as it is to the next RespondToAuthChallenge
API call.public Map<String,String> getChallengeParameters()
The challenge parameters. For more information, see AdminInitiateAuth.
public void setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see AdminInitiateAuth.
challengeParameters
- The challenge parameters. For more information, see AdminInitiateAuth.public AdminRespondToAuthChallengeResult withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see AdminInitiateAuth.
challengeParameters
- The challenge parameters. For more information, see AdminInitiateAuth.public AdminRespondToAuthChallengeResult addChallengeParametersEntry(String key, String value)
public AdminRespondToAuthChallengeResult clearChallengeParametersEntries()
public void setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
authenticationResult
- The result returned by the server in response to the authentication request.public AuthenticationResultType getAuthenticationResult()
The result returned by the server in response to the authentication request.
public AdminRespondToAuthChallengeResult withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
authenticationResult
- The result returned by the server in response to the authentication request.public String toString()
toString
in class Object
Object.toString()
public AdminRespondToAuthChallengeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.