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 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.-
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)
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.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)
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.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)
-
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
-
-
-