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, 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
-
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.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) 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.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:
-
mfaConfiguration
The multi-factor authentication (MFA) configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor activated.
- Parameters:
mfaConfiguration- The multi-factor authentication (MFA) configuration. Valid values include:-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA 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:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor activated.
- Parameters:
mfaConfiguration- The multi-factor authentication (MFA) configuration. Valid values include:-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA 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:
-
-