@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.
MfaTypesElement
public void setMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
mfaTypes
- The supported MFA types.MfaTypesElement
public 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.MfaTypesElement
public Settings withMfaTypes(Collection<String> mfaTypes)
The supported MFA types.
mfaTypes
- The supported MFA types.MfaTypesElement
public Settings withMfaTypes(MfaTypesElement... mfaTypes)
The supported MFA types.
mfaTypes
- The supported MFA types.MfaTypesElement
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.