@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthVerificationMessageConfig extends Object implements Serializable, Cloneable, StructuredPojo
Creates an email or SMS verification message for the auth resource configured for your Amplify project.
| Constructor and Description | 
|---|
CreateBackendAuthVerificationMessageConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateBackendAuthVerificationMessageConfig | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getDeliveryMethod()
 The type of verification message to send. 
 | 
EmailSettings | 
getEmailSettings()
 The settings for the email message. 
 | 
SmsSettings | 
getSmsSettings()
 The settings for the SMS message. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setDeliveryMethod(String deliveryMethod)
 The type of verification message to send. 
 | 
void | 
setEmailSettings(EmailSettings emailSettings)
 The settings for the email message. 
 | 
void | 
setSmsSettings(SmsSettings smsSettings)
 The settings for the SMS message. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateBackendAuthVerificationMessageConfig | 
withDeliveryMethod(DeliveryMethod deliveryMethod)
 The type of verification message to send. 
 | 
CreateBackendAuthVerificationMessageConfig | 
withDeliveryMethod(String deliveryMethod)
 The type of verification message to send. 
 | 
CreateBackendAuthVerificationMessageConfig | 
withEmailSettings(EmailSettings emailSettings)
 The settings for the email message. 
 | 
CreateBackendAuthVerificationMessageConfig | 
withSmsSettings(SmsSettings smsSettings)
 The settings for the SMS message. 
 | 
public CreateBackendAuthVerificationMessageConfig()
public void setDeliveryMethod(String deliveryMethod)
The type of verification message to send.
deliveryMethod - The type of verification message to send.DeliveryMethodpublic String getDeliveryMethod()
The type of verification message to send.
DeliveryMethodpublic CreateBackendAuthVerificationMessageConfig withDeliveryMethod(String deliveryMethod)
The type of verification message to send.
deliveryMethod - The type of verification message to send.DeliveryMethodpublic CreateBackendAuthVerificationMessageConfig withDeliveryMethod(DeliveryMethod deliveryMethod)
The type of verification message to send.
deliveryMethod - The type of verification message to send.DeliveryMethodpublic void setEmailSettings(EmailSettings emailSettings)
The settings for the email message.
emailSettings - The settings for the email message.public EmailSettings getEmailSettings()
The settings for the email message.
public CreateBackendAuthVerificationMessageConfig withEmailSettings(EmailSettings emailSettings)
The settings for the email message.
emailSettings - The settings for the email message.public void setSmsSettings(SmsSettings smsSettings)
The settings for the SMS message.
smsSettings - The settings for the SMS message.public SmsSettings getSmsSettings()
The settings for the SMS message.
public CreateBackendAuthVerificationMessageConfig withSmsSettings(SmsSettings smsSettings)
The settings for the SMS message.
smsSettings - The settings for the SMS message.public String toString()
toString in class ObjectObject.toString()public CreateBackendAuthVerificationMessageConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.