public static interface RespondToAuthChallengeResponse.Builder extends CognitoIdentityProviderResponse.Builder, CopyableBuilder<RespondToAuthChallengeResponse.Builder,RespondToAuthChallengeResponse>
| Modifier and Type | Method and Description |
|---|---|
RespondToAuthChallengeResponse.Builder |
authenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
|
default RespondToAuthChallengeResponse.Builder |
authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
|
RespondToAuthChallengeResponse.Builder |
challengeName(ChallengeNameType challengeName)
The challenge name.
|
RespondToAuthChallengeResponse.Builder |
challengeName(String challengeName)
The challenge name.
|
RespondToAuthChallengeResponse.Builder |
challengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
RespondToAuthChallengeResponse.Builder |
session(String session)
The session which should be passed both ways in challenge-response calls to the service.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildRespondToAuthChallengeResponse.Builder challengeName(String challengeName)
The challenge name. For more information, see InitiateAuth.
challengeName - The challenge name. For more information, see InitiateAuth.ChallengeNameType,
ChallengeNameTypeRespondToAuthChallengeResponse.Builder challengeName(ChallengeNameType challengeName)
The challenge name. For more information, see InitiateAuth.
challengeName - The challenge name. For more information, see InitiateAuth.ChallengeNameType,
ChallengeNameTypeRespondToAuthChallengeResponse.Builder session(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.RespondToAuthChallengeResponse.Builder challengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see InitiateAuth.
challengeParameters - The challenge parameters. For more information, see InitiateAuth.RespondToAuthChallengeResponse.Builder authenticationResult(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.default RespondToAuthChallengeResponse.Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)
The result returned by the server in response to the request to respond to the authentication challenge.
This is a convenience that creates an instance of theAuthenticationResultType.Builder avoiding the
need to create one manually via AuthenticationResultType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to authenticationResult(AuthenticationResultType).authenticationResult - a consumer that will call methods on AuthenticationResultType.BuilderauthenticationResult(AuthenticationResultType)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.