Interface AssociateSoftwareTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AssociateSoftwareTokenResponse.Builder,,AssociateSoftwareTokenResponse> SdkBuilder<AssociateSoftwareTokenResponse.Builder,,AssociateSoftwareTokenResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateSoftwareTokenResponse
public static interface AssociateSoftwareTokenResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AssociateSoftwareTokenResponse.Builder,AssociateSoftwareTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsecretCode(String secretCode) A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
secretCode
A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.
- Parameters:
secretCode- A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
- Parameters:
session- The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-