Interface AdminRespondToAuthChallengeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AdminRespondToAuthChallengeResponse.Builder,AdminRespondToAuthChallengeResponse>,SdkBuilder<AdminRespondToAuthChallengeResponse.Builder,AdminRespondToAuthChallengeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AdminRespondToAuthChallengeResponse
public static interface AdminRespondToAuthChallengeResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminRespondToAuthChallengeResponse.Builder,AdminRespondToAuthChallengeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AdminRespondToAuthChallengeResponse.BuilderauthenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)The result returned by the server in response to the authentication request.AdminRespondToAuthChallengeResponse.BuilderauthenticationResult(AuthenticationResultType authenticationResult)The result returned by the server in response to the authentication request.AdminRespondToAuthChallengeResponse.BuilderchallengeName(String challengeName)The name of the challenge.AdminRespondToAuthChallengeResponse.BuilderchallengeName(ChallengeNameType challengeName)The name of the challenge.AdminRespondToAuthChallengeResponse.BuilderchallengeParameters(Map<String,String> challengeParameters)The challenge parameters.AdminRespondToAuthChallengeResponse.Buildersession(String session)The session that should be passed both ways in challenge-response calls to the service.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
challengeName
AdminRespondToAuthChallengeResponse.Builder challengeName(String challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
- Parameters:
challengeName- The name of the challenge. For more information, see AdminInitiateAuth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChallengeNameType,ChallengeNameType
-
challengeName
AdminRespondToAuthChallengeResponse.Builder challengeName(ChallengeNameType challengeName)
The name of the challenge. For more information, see AdminInitiateAuth.
- Parameters:
challengeName- The name of the challenge. For more information, see AdminInitiateAuth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChallengeNameType,ChallengeNameType
-
session
AdminRespondToAuthChallengeResponse.Builder session(String session)
The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next
RespondToAuthChallengeAPI call.- Parameters:
session- The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the nextRespondToAuthChallengeAPI call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
challengeParameters
AdminRespondToAuthChallengeResponse.Builder challengeParameters(Map<String,String> challengeParameters)
The challenge parameters. For more information, see AdminInitiateAuth.
- Parameters:
challengeParameters- The challenge parameters. For more information, see AdminInitiateAuth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationResult
AdminRespondToAuthChallengeResponse.Builder authenticationResult(AuthenticationResultType authenticationResult)
The result returned by the server in response to the authentication request.
- Parameters:
authenticationResult- The result returned by the server in response to the authentication request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationResult
default AdminRespondToAuthChallengeResponse.Builder authenticationResult(Consumer<AuthenticationResultType.Builder> authenticationResult)
The result returned by the server in response to the authentication request.
This is a convenience method that creates an instance of theAuthenticationResultType.Builderavoiding the need to create one manually viaAuthenticationResultType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationResult(AuthenticationResultType).- Parameters:
authenticationResult- a consumer that will call methods onAuthenticationResultType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authenticationResult(AuthenticationResultType)
-
-