Class SmsMfaConfigType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.SmsMfaConfigType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
@Generated("software.amazon.awssdk:codegen") public final class SmsMfaConfigType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
The configuration of multi-factor authentication (MFA) with SMS messages in a user pool.
This data type is a request parameter of SetUserPoolMfaConfig and a response parameter of GetUserPoolMfaConfig.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSmsMfaConfigType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SmsMfaConfigType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SmsMfaConfigType.Builder>serializableBuilderClass()StringsmsAuthenticationMessage()The SMS authentication message that will be sent to users with the code they must sign in with.SmsConfigurationTypesmsConfiguration()User pool configuration for delivery of SMS messages with Amazon Simple Notification Service.SmsMfaConfigType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
smsAuthenticationMessage
public final String 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
public final SmsConfigurationType 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
public SmsMfaConfigType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
-
builder
public static SmsMfaConfigType.Builder builder()
-
serializableBuilderClass
public static Class<? extends SmsMfaConfigType.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-