Interface SetUserPoolMfaConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<SetUserPoolMfaConfigResponse.Builder,,SetUserPoolMfaConfigResponse> SdkBuilder<SetUserPoolMfaConfigResponse.Builder,,SetUserPoolMfaConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SetUserPoolMfaConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptionmfaConfiguration(String mfaConfiguration) The MFA configuration.mfaConfiguration(UserPoolMfaType mfaConfiguration) The MFA configuration.smsMfaConfiguration(Consumer<SmsMfaConfigType.Builder> smsMfaConfiguration) The SMS text message MFA configuration.smsMfaConfiguration(SmsMfaConfigType smsMfaConfiguration) The SMS text message MFA configuration.softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) The software token MFA configuration.softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration) The software token 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 MFA configuration.
- Parameters:
smsMfaConfiguration- The SMS text message MFA configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsMfaConfiguration
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.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
SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(SoftwareTokenMfaConfigType softwareTokenMfaConfiguration) The software token MFA configuration.
- Parameters:
softwareTokenMfaConfiguration- The software token MFA configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareTokenMfaConfiguration
default SetUserPoolMfaConfigResponse.Builder softwareTokenMfaConfiguration(Consumer<SoftwareTokenMfaConfigType.Builder> softwareTokenMfaConfiguration) The software token 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 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 enabled.
- Parameters:
mfaConfiguration- The 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 enabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
mfaConfiguration
The 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 enabled.
- Parameters:
mfaConfiguration- The 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 enabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-