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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
SetUserPoolMfaConfigResponse.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 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.Builder
smsMfaConfiguration(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 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.Builder
softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType)
SetUserPoolMfaConfigResponse.Builder mfaConfiguration(String mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not 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 will not 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
,
UserPoolMfaType
SetUserPoolMfaConfigResponse.Builder mfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration. Valid values include:
OFF
MFA will not 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 will not 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
,
UserPoolMfaType
Copyright © 2020. All rights reserved.