Class SmsMfaConfigType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
The configuration of multi-factor authentication (MFA) with SMS messages in a user pool.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SmsMfaConfigType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SmsMfaConfigType.Builder>final StringThe SMS authentication message that will be sent to users with the code they must sign in with.final SmsConfigurationTypeUser pool configuration for delivery of SMS messages with Amazon Simple Notification Service.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
smsAuthenticationMessage
The SMS authentication message that will be sent to users with the code they must sign in with. The message must contain the
{####}placeholder. Your user pool replaces the placeholder with the MFA code. If this parameter isn't provided, your user pool sends a default message.- Returns:
- The SMS authentication message that will be sent to users with the code they must sign in with. The
message must contain the
{####}placeholder. Your user pool replaces the placeholder with the MFA code. If this parameter isn't provided, your user pool sends a default message.
-
smsConfiguration
User pool configuration for delivery of SMS messages with Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
You can set
SmsConfigurationinCreateUserPoolandUpdateUserPool, or inSetUserPoolMfaConfig.- Returns:
- User pool configuration for delivery of SMS messages with Amazon Simple Notification Service. To send SMS
messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool
uses an Identity and Access Management (IAM) role in your Amazon Web Services account.
You can set
SmsConfigurationinCreateUserPoolandUpdateUserPool, or inSetUserPoolMfaConfig.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-