public static interface AdminRespondToAuthChallengeResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminRespondToAuthChallengeResponse.Builder,AdminRespondToAuthChallengeResponse>
| Modifier and Type | Method and Description |
|---|---|
AdminRespondToAuthChallengeResponse.Builder |
authenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
|
default AdminRespondToAuthChallengeResponse.Builder |
authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)
The result returned by the server in response to the authentication request.
|
AdminRespondToAuthChallengeResponse.Builder |
challengeName(ChallengeNameType challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResponse.Builder |
challengeName(String challengeName)
The name of the challenge.
|
AdminRespondToAuthChallengeResponse.Builder |
challengeParameters(Map<String,String> challengeParameters)
The challenge parameters.
|
AdminRespondToAuthChallengeResponse.Builder |
session(String session)
The session which should be passed both ways in challenge-response calls to the service.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildAdminRespondToAuthChallengeResponse.Builder challengeName(String challengeName)
The name of the challenge. For more information, see .
challengeName - The name of the challenge. For more information, see .ChallengeNameType,
ChallengeNameTypeAdminRespondToAuthChallengeResponse.Builder challengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see .
challengeName - The name of the challenge. For more information, see .ChallengeNameType,
ChallengeNameTypeAdminRespondToAuthChallengeResponse.Builder session(String session)
The session which should be passed both ways in challenge-response calls to the service. If the or 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 or 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.AdminRespondToAuthChallengeResponse.Builder challengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see .
challengeParameters - The challenge parameters. For more information, see .AdminRespondToAuthChallengeResponse.Builder authenticationResult(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.default AdminRespondToAuthChallengeResponse.Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)
The result returned by the server in response to the authentication request.
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.