Interface GetUserPoolMfaConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<GetUserPoolMfaConfigResponse.Builder,,GetUserPoolMfaConfigResponse> SdkBuilder<GetUserPoolMfaConfigResponse.Builder,,GetUserPoolMfaConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetUserPoolMfaConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptionemailMfaConfiguration(Consumer<EmailMfaConfigType.Builder> emailMfaConfiguration) Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs).emailMfaConfiguration(EmailMfaConfigType emailMfaConfiguration) Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs).mfaConfiguration(String mfaConfiguration) Displays the state of multi-factor authentication (MFA) as on, off, or optional.mfaConfiguration(UserPoolMfaType mfaConfiguration) Displays the state of multi-factor authentication (MFA) as on, off, or optional.smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) Shows user pool configuration for SMS message MFA.smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration) Shows user pool configuration for SMS message MFA.softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) Shows user pool configuration for time-based one-time password (TOTP) MFA.softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration) Shows user pool configuration for time-based one-time password (TOTP) MFA.webAuthnConfiguration(Consumer<WebAuthnConfigurationType.Builder> webAuthnConfiguration) Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys.webAuthnConfiguration(WebAuthnConfigurationType webAuthnConfiguration) Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
smsMfaConfiguration
Shows user pool configuration for SMS message MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
- Parameters:
smsMfaConfiguration- Shows user pool configuration for SMS message MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsMfaConfiguration
default GetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) Shows user pool configuration for SMS message MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
This is a convenience method that creates an instance of theSmsMfaConfigType.Builderavoiding the need to create one manually viaSmsMfaConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmsMfaConfiguration(SmsMfaConfigType).- Parameters:
smsMfaConfiguration- a consumer that will call methods onSmsMfaConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
softwareTokenMfaConfiguration
GetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration) Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
- Parameters:
softwareTokenMfaConfiguration- Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareTokenMfaConfiguration
default GetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
This is a convenience method that creates an instance of theSoftwareTokenMfaConfigType.Builderavoiding the need to create one manually viaSoftwareTokenMfaConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType).- Parameters:
softwareTokenMfaConfiguration- a consumer that will call methods onSoftwareTokenMfaConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
emailMfaConfiguration
GetUserPoolMfaConfigResponse.Builder emailMfaConfiguration(EmailMfaConfigType emailMfaConfiguration) Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
- Parameters:
emailMfaConfiguration- Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailMfaConfiguration
default GetUserPoolMfaConfigResponse.Builder emailMfaConfiguration(Consumer<EmailMfaConfigType.Builder> emailMfaConfiguration) Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
This is a convenience method that creates an instance of theEmailMfaConfigType.Builderavoiding the need to create one manually viaEmailMfaConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailMfaConfiguration(EmailMfaConfigType).- Parameters:
emailMfaConfiguration- a consumer that will call methods onEmailMfaConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mfaConfiguration
Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.- Parameters:
mfaConfiguration- Displays the state of multi-factor authentication (MFA) as on, off, or optional. WhenON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mfaConfiguration
Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.- Parameters:
mfaConfiguration- Displays the state of multi-factor authentication (MFA) as on, off, or optional. WhenON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webAuthnConfiguration
GetUserPoolMfaConfigResponse.Builder webAuthnConfiguration(WebAuthnConfigurationType webAuthnConfiguration) Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys. Passkeys are not eligible MFA factors. They are instead an eligible primary sign-in factor for choice-based authentication, or the
USER_AUTHflow.- Parameters:
webAuthnConfiguration- Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys. Passkeys are not eligible MFA factors. They are instead an eligible primary sign-in factor for choice-based authentication, or theUSER_AUTHflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webAuthnConfiguration
default GetUserPoolMfaConfigResponse.Builder webAuthnConfiguration(Consumer<WebAuthnConfigurationType.Builder> webAuthnConfiguration) Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys. Passkeys are not eligible MFA factors. They are instead an eligible primary sign-in factor for choice-based authentication, or the
This is a convenience method that creates an instance of theUSER_AUTHflow.WebAuthnConfigurationType.Builderavoiding the need to create one manually viaWebAuthnConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebAuthnConfiguration(WebAuthnConfigurationType).- Parameters:
webAuthnConfiguration- a consumer that will call methods onWebAuthnConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-