Interface SmsMfaConfigType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>,SdkBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>,SdkPojo
- Enclosing class:
- SmsMfaConfigType
public static interface SmsMfaConfigType.Builder extends SdkPojo, CopyableBuilder<SmsMfaConfigType.Builder,SmsMfaConfigType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SmsMfaConfigType.BuildersmsAuthenticationMessage(String smsAuthenticationMessage)The SMS authentication message that will be sent to users with the code they must sign in.default SmsMfaConfigType.BuildersmsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service.SmsMfaConfigType.BuildersmsConfiguration(SmsConfigurationType smsConfiguration)The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service.-
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
-
-
-
-
Method Detail
-
smsAuthenticationMessage
SmsMfaConfigType.Builder smsAuthenticationMessage(String smsAuthenticationMessage)
The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.
- Parameters:
smsAuthenticationMessage- The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsConfiguration
SmsMfaConfigType.Builder smsConfiguration(SmsConfigurationType smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.
- Parameters:
smsConfiguration- The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsConfiguration
default SmsMfaConfigType.Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration)
The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.
This is a convenience method that creates an instance of theSmsConfigurationType.Builderavoiding the need to create one manually viaSmsConfigurationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmsConfiguration(SmsConfigurationType).- Parameters:
smsConfiguration- a consumer that will call methods onSmsConfigurationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
smsConfiguration(SmsConfigurationType)
-
-