@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthForgotPasswordConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the forgot password policy for authenticating into the Amplify app.
| Constructor and Description |
|---|
CreateBackendAuthForgotPasswordConfig() |
| Modifier and Type | Method and Description |
|---|---|
CreateBackendAuthForgotPasswordConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveryMethod()
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their
password.
|
EmailSettings |
getEmailSettings()
The configuration for the email sent when an app user forgets their password.
|
SmsSettings |
getSmsSettings()
The configuration for the SMS message sent when an app user forgets their password.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeliveryMethod(String deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their
password.
|
void |
setEmailSettings(EmailSettings emailSettings)
The configuration for the email sent when an app user forgets their password.
|
void |
setSmsSettings(SmsSettings smsSettings)
The configuration for the SMS message sent when an app user forgets their password.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthForgotPasswordConfig |
withDeliveryMethod(DeliveryMethod deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their
password.
|
CreateBackendAuthForgotPasswordConfig |
withDeliveryMethod(String deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their
password.
|
CreateBackendAuthForgotPasswordConfig |
withEmailSettings(EmailSettings emailSettings)
The configuration for the email sent when an app user forgets their password.
|
CreateBackendAuthForgotPasswordConfig |
withSmsSettings(SmsSettings smsSettings)
The configuration for the SMS message sent when an app user forgets their password.
|
public CreateBackendAuthForgotPasswordConfig()
public void setDeliveryMethod(String deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.
deliveryMethod - Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover
their password.DeliveryMethodpublic String getDeliveryMethod()
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.
DeliveryMethodpublic CreateBackendAuthForgotPasswordConfig withDeliveryMethod(String deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.
deliveryMethod - Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover
their password.DeliveryMethodpublic CreateBackendAuthForgotPasswordConfig withDeliveryMethod(DeliveryMethod deliveryMethod)
Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.
deliveryMethod - Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover
their password.DeliveryMethodpublic void setEmailSettings(EmailSettings emailSettings)
The configuration for the email sent when an app user forgets their password.
emailSettings - The configuration for the email sent when an app user forgets their password.public EmailSettings getEmailSettings()
The configuration for the email sent when an app user forgets their password.
public CreateBackendAuthForgotPasswordConfig withEmailSettings(EmailSettings emailSettings)
The configuration for the email sent when an app user forgets their password.
emailSettings - The configuration for the email sent when an app user forgets their password.public void setSmsSettings(SmsSettings smsSettings)
The configuration for the SMS message sent when an app user forgets their password.
smsSettings - The configuration for the SMS message sent when an app user forgets their password.public SmsSettings getSmsSettings()
The configuration for the SMS message sent when an app user forgets their password.
public CreateBackendAuthForgotPasswordConfig withSmsSettings(SmsSettings smsSettings)
The configuration for the SMS message sent when an app user forgets their password.
smsSettings - The configuration for the SMS message sent when an app user forgets their password.public String toString()
toString in class ObjectObject.toString()public CreateBackendAuthForgotPasswordConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.