@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SoftwareTokenMfaConfigType extends Object implements Serializable, Cloneable, StructuredPojo
The type used for enabling software token MFA at the user pool level.
| Constructor and Description |
|---|
SoftwareTokenMfaConfigType() |
| Modifier and Type | Method and Description |
|---|---|
SoftwareTokenMfaConfigType |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether software token MFA is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether software token MFA is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Specifies whether software token MFA is enabled.
|
String |
toString()
Returns a string representation of this object.
|
SoftwareTokenMfaConfigType |
withEnabled(Boolean enabled)
Specifies whether software token MFA is enabled.
|
public void setEnabled(Boolean enabled)
Specifies whether software token MFA is enabled.
enabled - Specifies whether software token MFA is enabled.public Boolean getEnabled()
Specifies whether software token MFA is enabled.
public SoftwareTokenMfaConfigType withEnabled(Boolean enabled)
Specifies whether software token MFA is enabled.
enabled - Specifies whether software token MFA is enabled.public Boolean isEnabled()
Specifies whether software token MFA is enabled.
public String toString()
toString in class ObjectObject.toString()public SoftwareTokenMfaConfigType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.