Class GetUserPoolMfaConfigResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.GetUserPoolMfaConfigResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetUserPoolMfaConfigResponse extends CognitoIdentityProviderResponse implements ToCopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetUserPoolMfaConfigResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetUserPoolMfaConfigResponse.Builderbuilder()EmailMfaConfigTypeemailMfaConfiguration()Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UserPoolMfaTypemfaConfiguration()Displays the state of multi-factor authentication (MFA) as on, off, or optional.StringmfaConfigurationAsString()Displays the state of multi-factor authentication (MFA) as on, off, or optional.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetUserPoolMfaConfigResponse.Builder>serializableBuilderClass()SmsMfaConfigTypesmsMfaConfiguration()Shows user pool configuration for SMS message MFA.SoftwareTokenMfaConfigTypesoftwareTokenMfaConfiguration()Shows user pool configuration for time-based one-time password (TOTP) MFA.GetUserPoolMfaConfigResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.WebAuthnConfigurationTypewebAuthnConfiguration()Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys.-
Methods inherited from class software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
smsMfaConfiguration
public final SmsMfaConfigType smsMfaConfiguration()
Shows user pool configuration for SMS message MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
- Returns:
- Shows user pool configuration for SMS message MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
-
softwareTokenMfaConfiguration
public final SoftwareTokenMfaConfigType softwareTokenMfaConfiguration()
Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
- Returns:
- Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
-
emailMfaConfiguration
public final EmailMfaConfigType emailMfaConfiguration()
Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
- Returns:
- Shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
-
mfaConfiguration
public final UserPoolMfaType mfaConfiguration()
Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.If the service returns an enum value that is not available in the current SDK version,
mfaConfigurationwill returnUserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaConfigurationAsString().- Returns:
- Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor. - See Also:
UserPoolMfaType
-
mfaConfigurationAsString
public final String mfaConfigurationAsString()
Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor.If the service returns an enum value that is not available in the current SDK version,
mfaConfigurationwill returnUserPoolMfaType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommfaConfigurationAsString().- Returns:
- Displays the state of multi-factor authentication (MFA) as on, off, or optional. When
ON, all users must set up MFA before they can sign in. WhenOPTIONAL, your application must make a client-side determination of whether a user wants to register an MFA device. For user pools with adaptive authentication with threat protection, chooseOPTIONAL.When
MfaConfigurationisOPTIONAL, managed login doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in API responses and in managed login for users who have chosen and configured a preferred MFA factor. - See Also:
UserPoolMfaType
-
webAuthnConfiguration
public final WebAuthnConfigurationType webAuthnConfiguration()
Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security keys. Passkeys are not eligible MFA factors. They are instead an eligible primary sign-in factor for choice-based authentication, or the
USER_AUTHflow.- Returns:
- Shows user pool configuration for sign-in with passkey authenticators like biometric devices and security
keys. Passkeys are not eligible MFA factors. They are instead an eligible primary sign-in factor for choice-based authentication, or the
USER_AUTHflow.
-
toBuilder
public GetUserPoolMfaConfigResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetUserPoolMfaConfigResponse.Builder,GetUserPoolMfaConfigResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetUserPoolMfaConfigResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetUserPoolMfaConfigResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-