|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.identitymanagement.model.MFADevice
public class MFADevice
The MFADevice data type contains information about an MFA Device.
This data type is used as a response element in the action ListMFADevices.
| Constructor Summary | |
|---|---|
MFADevice()
|
|
| Method Summary | |
|---|---|
String |
getSerialNumber()
Serial number which uniquely identifies the MFA device. |
String |
getUserName()
The user with whom the MFA device is associated. |
void |
setSerialNumber(String serialNumber)
Serial number which uniquely identifies the MFA device. |
void |
setUserName(String userName)
The user with whom the MFA device is associated. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
MFADevice |
withSerialNumber(String serialNumber)
Serial number which uniquely identifies the MFA device. |
MFADevice |
withUserName(String userName)
The user with whom the MFA device is associated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MFADevice()
| Method Detail |
|---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - The user with whom the MFA device is associated.public MFADevice withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - The user with whom the MFA device is associated.
public String getSerialNumber()
Constraints:
Length: 9 - 48
Pattern: [\w]*
public void setSerialNumber(String serialNumber)
Constraints:
Length: 9 - 48
Pattern: [\w]*
serialNumber - Serial number which uniquely identifies the MFA device.public MFADevice withSerialNumber(String serialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 9 - 48
Pattern: [\w]*
serialNumber - Serial number which uniquely identifies the MFA device.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||