public static interface GetUserPoolMfaConfigResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUserPoolMfaConfigResponse.Builder |
mfaConfiguration(String mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResponse.Builder |
mfaConfiguration(UserPoolMfaType mfaConfiguration)
The multi-factor authentication (MFA) configuration.
|
default GetUserPoolMfaConfigResponse.Builder |
smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResponse.Builder |
smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
|
default GetUserPoolMfaConfigResponse.Builder |
softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
|
GetUserPoolMfaConfigResponse.Builder |
softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message multi-factor authentication (MFA) configuration.
smsMfaConfiguration - The SMS text message multi-factor authentication (MFA) configuration.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 via SmsMfaConfigType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to smsMfaConfiguration(SmsMfaConfigType).
smsMfaConfiguration - a consumer that will call methods on SmsMfaConfigType.BuildersmsMfaConfiguration(SmsMfaConfigType)GetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token multi-factor authentication (MFA) configuration.
softwareTokenMfaConfiguration - The software token multi-factor authentication (MFA) configuration.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 via SoftwareTokenMfaConfigType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType).
softwareTokenMfaConfiguration - a consumer that will call methods on SoftwareTokenMfaConfigType.BuildersoftwareTokenMfaConfiguration(SoftwareTokenMfaConfigType)GetUserPoolMfaConfigResponse.Builder mfaConfiguration(String 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.
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.
UserPoolMfaType,
UserPoolMfaTypeGetUserPoolMfaConfigResponse.Builder mfaConfiguration(UserPoolMfaType 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.
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.
UserPoolMfaType,
UserPoolMfaTypeCopyright © 2022. All rights reserved.