@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthMFAConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
Constructor and Description |
---|
CreateBackendAuthMFAConfig() |
Modifier and Type | Method and Description |
---|---|
CreateBackendAuthMFAConfig |
clone() |
boolean |
equals(Object obj) |
String |
getMFAMode()
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
|
Settings |
getSettings()
Describes the configuration settings and methods for your Amplify app users to use MFA.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMFAMode(String mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
|
void |
setSettings(Settings settings)
Describes the configuration settings and methods for your Amplify app users to use MFA.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthMFAConfig |
withMFAMode(MFAMode mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
|
CreateBackendAuthMFAConfig |
withMFAMode(String mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
|
CreateBackendAuthMFAConfig |
withSettings(Settings settings)
Describes the configuration settings and methods for your Amplify app users to use MFA.
|
public void setMFAMode(String mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
mFAMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.MFAMode
public String getMFAMode()
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
MFAMode
public CreateBackendAuthMFAConfig withMFAMode(String mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
mFAMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.MFAMode
public CreateBackendAuthMFAConfig withMFAMode(MFAMode mFAMode)
Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.
mFAMode
- Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.MFAMode
public void setSettings(Settings settings)
Describes the configuration settings and methods for your Amplify app users to use MFA.
settings
- Describes the configuration settings and methods for your Amplify app users to use MFA.public Settings getSettings()
Describes the configuration settings and methods for your Amplify app users to use MFA.
public CreateBackendAuthMFAConfig withSettings(Settings settings)
Describes the configuration settings and methods for your Amplify app users to use MFA.
settings
- Describes the configuration settings and methods for your Amplify app users to use MFA.public String toString()
toString
in class Object
Object.toString()
public CreateBackendAuthMFAConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.