@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 activated.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether software token MFA is activated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Specifies whether software token MFA is activated.
|
String |
toString()
Returns a string representation of this object.
|
SoftwareTokenMfaConfigType |
withEnabled(Boolean enabled)
Specifies whether software token MFA is activated.
|
public void setEnabled(Boolean enabled)
Specifies whether software token MFA is activated.
enabled
- Specifies whether software token MFA is activated.public Boolean getEnabled()
Specifies whether software token MFA is activated.
public SoftwareTokenMfaConfigType withEnabled(Boolean enabled)
Specifies whether software token MFA is activated.
enabled
- Specifies whether software token MFA is activated.public Boolean isEnabled()
Specifies whether software token MFA is activated.
public String toString()
toString
in class Object
Object.toString()
public SoftwareTokenMfaConfigType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.