Interface SetUserPoolMfaConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
,SdkBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- SetUserPoolMfaConfigResponse
public static interface SetUserPoolMfaConfigResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<SetUserPoolMfaConfigResponse.Builder,SetUserPoolMfaConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SetUserPoolMfaConfigResponse.Builder
emailMfaConfiguration(Consumer<EmailMfaConfigType.Builder> emailMfaConfiguration)
Shows user pool email message configuration for MFA.SetUserPoolMfaConfigResponse.Builder
emailMfaConfiguration(EmailMfaConfigType emailMfaConfiguration)
Shows user pool email message configuration for MFA.SetUserPoolMfaConfigResponse.Builder
mfaConfiguration(String mfaConfiguration)
The MFA configuration.SetUserPoolMfaConfigResponse.Builder
mfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.default SetUserPoolMfaConfigResponse.Builder
smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration)
Shows user pool SMS message configuration for MFA.SetUserPoolMfaConfigResponse.Builder
smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
Shows user pool SMS message configuration for MFA.default SetUserPoolMfaConfigResponse.Builder
softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration)
Shows user pool configuration for time-based one-time password (TOTP) MFA.SetUserPoolMfaConfigResponse.Builder
softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
Shows user pool configuration for time-based one-time password (TOTP) MFA.-
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 Detail
-
smsMfaConfiguration
SetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration)
Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
- Parameters:
smsMfaConfiguration
- Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsMfaConfiguration
default SetUserPoolMfaConfigResponse.Builder smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration)
Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
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:
smsMfaConfiguration(SmsMfaConfigType)
-
softwareTokenMfaConfiguration
SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration)
Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
- Parameters:
softwareTokenMfaConfiguration
- Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareTokenMfaConfiguration
default SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration)
Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
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:
softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType)
-
emailMfaConfiguration
SetUserPoolMfaConfigResponse.Builder emailMfaConfiguration(EmailMfaConfigType emailMfaConfiguration)
Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
- Parameters:
emailMfaConfiguration
- Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailMfaConfiguration
default SetUserPoolMfaConfigResponse.Builder emailMfaConfiguration(Consumer<EmailMfaConfigType.Builder> emailMfaConfiguration)
Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
This is a convenience method that creates an instance of theEmailMfaConfigType.Builder
avoiding the need to create one manually viaEmailMfaConfigType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemailMfaConfiguration(EmailMfaConfigType)
.- Parameters:
emailMfaConfiguration
- a consumer that will call methods onEmailMfaConfigType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
emailMfaConfiguration(EmailMfaConfigType)
-
mfaConfiguration
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserPoolMfaType
,UserPoolMfaType
-
-
mfaConfiguration
SetUserPoolMfaConfigResponse.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UserPoolMfaType
,UserPoolMfaType
-
-
-