@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Settings extends Object implements Serializable, Cloneable, StructuredPojo
The settings of your MFA configuration for the backend of your Amplify project.
| Constructor and Description |
|---|
Settings() |
| Modifier and Type | Method and Description |
|---|---|
Settings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMfaTypes()
The supported MFA types.
|
String |
getSmsMessage()
The body of the SMS message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
|
void |
setSmsMessage(String smsMessage)
The body of the SMS message.
|
String |
toString()
Returns a string representation of this object.
|
Settings |
withMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
|
Settings |
withMfaTypes(MfaTypesElement... mfaTypes)
The supported MFA types.
|
Settings |
withMfaTypes(String... mfaTypes)
The supported MFA types.
|
Settings |
withSmsMessage(String smsMessage)
The body of the SMS message.
|
public List<String> getMfaTypes()
The supported MFA types.
MfaTypesElementpublic void setMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
mfaTypes - The supported MFA types.MfaTypesElementpublic Settings withMfaTypes(String... mfaTypes)
The supported MFA types.
NOTE: This method appends the values to the existing list (if any). Use
setMfaTypes(java.util.Collection) or withMfaTypes(java.util.Collection) if you want to override
the existing values.
mfaTypes - The supported MFA types.MfaTypesElementpublic Settings withMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
mfaTypes - The supported MFA types.MfaTypesElementpublic Settings withMfaTypes(MfaTypesElement... mfaTypes)
The supported MFA types.
mfaTypes - The supported MFA types.MfaTypesElementpublic void setSmsMessage(String smsMessage)
The body of the SMS message.
smsMessage - The body of the SMS message.public String getSmsMessage()
The body of the SMS message.
public Settings withSmsMessage(String smsMessage)
The body of the SMS message.
smsMessage - The body of the SMS message.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.