@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RespondToAuthChallengeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response to respond to the authentication challenge.
Constructor and Description |
---|
RespondToAuthChallengeResult() |
Modifier and Type | Method and Description |
---|---|
RespondToAuthChallengeResult |
addChallengeParametersEntry(String key,
String value) |
RespondToAuthChallengeResult |
clearChallengeParametersEntries()
Removes all the entries added into ChallengeParameters.
|
RespondToAuthChallengeResult |
clone() |
boolean |
equals(Object obj) |
AuthenticationResultType |
getAuthenticationResult()
The result returned by the server in response to the request to respond to the authentication challenge.
|
String |
getChallengeName()
The challenge name.
|
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 request to respond to the authentication challenge.
|
void |
setChallengeName(ChallengeNameType challengeName)
The challenge name.
|
void |
setChallengeName(String challengeName)
The challenge name.
|
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.
|
RespondToAuthChallengeResult |
withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
|
RespondToAuthChallengeResult |
withChallengeName(ChallengeNameType challengeName)
The challenge name.
|
RespondToAuthChallengeResult |
withChallengeName(String challengeName)
The challenge name.
|
RespondToAuthChallengeResult |
withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
RespondToAuthChallengeResult |
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 challenge name. For more information, see InitiateAuth.
challengeName
- The challenge name. For more information, see InitiateAuth.ChallengeNameType
public String getChallengeName()
The challenge name. For more information, see InitiateAuth.
ChallengeNameType
public RespondToAuthChallengeResult withChallengeName(String challengeName)
The challenge name. For more information, see InitiateAuth.
challengeName
- The challenge name. For more information, see InitiateAuth.ChallengeNameType
public void setChallengeName(ChallengeNameType challengeName)
The challenge name. For more information, see InitiateAuth.
challengeName
- The challenge name. For more information, see InitiateAuth.ChallengeNameType
public RespondToAuthChallengeResult withChallengeName(ChallengeNameType challengeName)
The challenge name. For more information, see InitiateAuth.
challengeName
- The challenge name. For more information, see InitiateAuth.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 RespondToAuthChallengeResult 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 InitiateAuth.
public void setChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see InitiateAuth.
challengeParameters
- The challenge parameters. For more information, see InitiateAuth.public RespondToAuthChallengeResult withChallengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see InitiateAuth.
challengeParameters
- The challenge parameters. For more information, see InitiateAuth.public RespondToAuthChallengeResult addChallengeParametersEntry(String key, String value)
public RespondToAuthChallengeResult clearChallengeParametersEntries()
public void setAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
authenticationResult
- The result returned by the server in response to the request to respond to the authentication challenge.public AuthenticationResultType getAuthenticationResult()
The result returned by the server in response to the request to respond to the authentication challenge.
public RespondToAuthChallengeResult withAuthenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
authenticationResult
- The result returned by the server in response to the request to respond to the authentication challenge.public String toString()
toString
in class Object
Object.toString()
public RespondToAuthChallengeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.