public static final class UserInvitationConfig.Builder
extends java.lang.Object
UserInvitationConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserInvitationConfig |
build()
Builds the configured instance.
|
UserInvitationConfig.Builder |
emailBody(java.lang.String emailBody)
Sets the value of
UserInvitationConfig.getEmailBody() |
UserInvitationConfig.Builder |
emailSubject(java.lang.String emailSubject)
Sets the value of
UserInvitationConfig.getEmailSubject() |
UserInvitationConfig.Builder |
smsMessage(java.lang.String smsMessage)
Sets the value of
UserInvitationConfig.getSmsMessage() |
public UserInvitationConfig.Builder emailBody(java.lang.String emailBody)
UserInvitationConfig.getEmailBody()
emailBody
- The template to the email body that is sent to the user when an administrator signs them up to the user pool.this
public UserInvitationConfig.Builder emailSubject(java.lang.String emailSubject)
UserInvitationConfig.getEmailSubject()
emailSubject
- The template to the email subject that is sent to the user when an administrator signs them up to the user pool.this
public UserInvitationConfig.Builder smsMessage(java.lang.String smsMessage)
UserInvitationConfig.getSmsMessage()
smsMessage
- The template to the SMS message that is sent to the user when an administrator signs them up to the user pool.this
public UserInvitationConfig build()
UserInvitationConfig
java.lang.NullPointerException
- if any required attribute was not provided