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 user pool email message configuration for MFA.emailMfaConfiguration
(EmailMfaConfigType emailMfaConfiguration) Shows user pool email message configuration for MFA.mfaConfiguration
(String mfaConfiguration) The multi-factor authentication (MFA) configuration.mfaConfiguration
(UserPoolMfaType mfaConfiguration) The multi-factor authentication (MFA) configuration.smsMfaConfiguration
(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) Shows user pool SMS message configuration for MFA.smsMfaConfiguration
(SmsMfaConfigType smsMfaConfiguration) Shows user pool SMS message configuration for 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.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 Details
-
smsMfaConfiguration
Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
- Parameters:
smsMfaConfiguration
- Shows user pool SMS message configuration for 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 SMS message configuration for 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.Builder
avoiding the need to create one manually viaSmsMfaConfigType.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaSoftwareTokenMfaConfigType.builder()
.When the
Consumer
completes,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 user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
- Parameters:
emailMfaConfiguration
- Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.- 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 user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
This is a convenience method that creates an instance of theEmailMfaConfigType.Builder
avoiding the need to create one manually viaEmailMfaConfigType.builder()
.When the
Consumer
completes,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
The multi-factor authentication (MFA) configuration. Valid values include:
-
OFF
MFA won't be used for any users. -
ON
MFA is required for all users to sign in. -
OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- Parameters:
mfaConfiguration
- The multi-factor authentication (MFA) configuration. Valid values include:-
OFF
MFA won't be used for any users. -
ON
MFA is required for all users to sign in. -
OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
mfaConfiguration
The multi-factor authentication (MFA) configuration. Valid values include:
-
OFF
MFA won't be used for any users. -
ON
MFA is required for all users to sign in. -
OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
- Parameters:
mfaConfiguration
- The multi-factor authentication (MFA) configuration. Valid values include:-
OFF
MFA won't be used for any users. -
ON
MFA is required for all users to sign in. -
OPTIONAL
MFA will be required only for individual users who have an MFA factor activated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-