public static interface SetUserPoolMfaConfigResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
| Modifier and Type | Method and Description |
|---|---|
SetUserPoolMfaConfigResponse.Builder |
mfaConfiguration(String mfaConfiguration)
The MFA configuration.
|
SetUserPoolMfaConfigResponse.Builder |
mfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
|
default SetUserPoolMfaConfigResponse.Builder |
smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration)
The SMS text message MFA configuration.
|
SetUserPoolMfaConfigResponse.Builder |
smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
|
default SetUserPoolMfaConfigResponse.Builder |
softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration)
The software token MFA configuration.
|
SetUserPoolMfaConfigResponse.Builder |
softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
The SMS text message MFA configuration.
smsMfaConfiguration - The SMS text message MFA configuration.default SetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration)
The SMS text message 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)SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
The software token MFA configuration.
softwareTokenMfaConfiguration - The software token MFA configuration.default SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration)
The software token 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)SetUserPoolMfaConfigResponse.Builder mfaConfiguration(String mfaConfiguration)
The 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 enabled.
mfaConfiguration - The 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 enabled.
UserPoolMfaType,
UserPoolMfaTypeSetUserPoolMfaConfigResponse.Builder mfaConfiguration(UserPoolMfaType mfaConfiguration)
The 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 enabled.
mfaConfiguration - The 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 enabled.
UserPoolMfaType,
UserPoolMfaTypeCopyright © 2022. All rights reserved.