The data type contains information about an MFA device.
CopyC#
MFADevice
This data type is used as a response element in the action ListMFADevices.
Declaration Syntax
C# |
public class MFADevice
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
MFADevice()()()() | Initializes a new instance of the MFADevice class | |
EnableDate |
Gets and sets the property EnableDate.
The date when the MFA device was enabled for the user. | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
SerialNumber |
Gets and sets the property SerialNumber.
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
UserName |
Gets and sets the property UserName.
The user with whom the MFA device is associated. | |
WithEnableDate(DateTime) | Obsolete.
Sets the EnableDate property
| |
WithSerialNumber(String) | Obsolete.
Sets the SerialNumber property
| |
WithUserName(String) | Obsolete.
Sets the UserName property
|
Inheritance Hierarchy
Object | |
MFADevice |