Interface VerifySoftwareTokenResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<VerifySoftwareTokenResponse.Builder,VerifySoftwareTokenResponse>,SdkBuilder<VerifySoftwareTokenResponse.Builder,VerifySoftwareTokenResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- VerifySoftwareTokenResponse
@Mutable @NotThreadSafe public static interface VerifySoftwareTokenResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<VerifySoftwareTokenResponse.Builder,VerifySoftwareTokenResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VerifySoftwareTokenResponse.Buildersession(String session)This session ID satisfies anMFA_SETUPchallenge.VerifySoftwareTokenResponse.Builderstatus(String status)Amazon Cognito can accept or reject the code that you provide.VerifySoftwareTokenResponse.Builderstatus(VerifySoftwareTokenResponseType status)Amazon Cognito can accept or reject the code that you provide.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
VerifySoftwareTokenResponse.Builder status(String status)
Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.
- Parameters:
status- Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerifySoftwareTokenResponseType,VerifySoftwareTokenResponseType
-
status
VerifySoftwareTokenResponse.Builder status(VerifySoftwareTokenResponseType status)
Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.
- Parameters:
status- Amazon Cognito can accept or reject the code that you provide. This response parameter indicates the success of TOTP verification. Some reasons that this operation might return an error are clock skew on the user's device and excessive retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VerifySoftwareTokenResponseType,VerifySoftwareTokenResponseType
-
session
VerifySoftwareTokenResponse.Builder session(String session)
This session ID satisfies an
MFA_SETUPchallenge. Supply the session ID in your challenge response.- Parameters:
session- This session ID satisfies anMFA_SETUPchallenge. Supply the session ID in your challenge response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-