@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 method to use (either SMS or email) to deliver messages to app users that 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 method to use (either SMS or email) to deliver messages to app users that 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 method to use (either SMS or email) to deliver messages to app users that want to recover their
password.
|
CreateBackendAuthForgotPasswordConfig |
withDeliveryMethod(String deliveryMethod)
Describes which method to use (either SMS or email) to deliver messages to app users that 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 method to use (either SMS or email) to deliver messages to app users that want to recover their password.
deliveryMethod
- Describes which method to use (either SMS or email) to deliver messages to app users that want to recover
their password.DeliveryMethod
public String getDeliveryMethod()
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
DeliveryMethod
public CreateBackendAuthForgotPasswordConfig withDeliveryMethod(String deliveryMethod)
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
deliveryMethod
- Describes which method to use (either SMS or email) to deliver messages to app users that want to recover
their password.DeliveryMethod
public CreateBackendAuthForgotPasswordConfig withDeliveryMethod(DeliveryMethod deliveryMethod)
Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
deliveryMethod
- Describes which method to use (either SMS or email) to deliver messages to app users that want to recover
their password.DeliveryMethod
public 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 Object
Object.toString()
public CreateBackendAuthForgotPasswordConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.