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
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.
mfaConfiguration
- The MFA configuration.UserPoolMfaType
,
UserPoolMfaType
SetUserPoolMfaConfigResponse.Builder mfaConfiguration(UserPoolMfaType mfaConfiguration)
The MFA configuration.
mfaConfiguration
- The MFA configuration.UserPoolMfaType
,
UserPoolMfaType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.