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 TypeMethodDescriptionmfaConfiguration
(String mfaConfiguration) The multi-factor authentication (MFA) configuration.mfaConfiguration
(UserPoolMfaType mfaConfiguration) The multi-factor authentication (MFA) configuration.smsMfaConfiguration
(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) The SMS text message multi-factor authentication (MFA) configuration.smsMfaConfiguration
(SmsMfaConfigType smsMfaConfiguration) The SMS text message multi-factor authentication (MFA) configuration.softwareTokenMfaConfiguration
(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) The software token multi-factor authentication (MFA) configuration.softwareTokenMfaConfiguration
(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration) The software token multi-factor authentication (MFA) configuration.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
The SMS text message multi-factor authentication (MFA) configuration.
- Parameters:
smsMfaConfiguration
- The SMS text message multi-factor authentication (MFA) configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsMfaConfiguration
default GetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) The SMS text message multi-factor authentication (MFA) configuration.
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) The software token multi-factor authentication (MFA) configuration.
- Parameters:
softwareTokenMfaConfiguration
- The software token multi-factor authentication (MFA) configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareTokenMfaConfiguration
default GetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) The software token multi-factor authentication (MFA) configuration.
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:
-
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:
-
-