com.amazonaws.services.identitymanagement.model
Class MFADevice

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.MFADevice

public class MFADevice
extends Object

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 that uniquely identifies the MFA device.
 String getUserName()
          The User with whom the MFA device is associated.
 void setSerialNumber(String serialNumber)
          Serial number that 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 that 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

MFADevice

public MFADevice()
Method Detail

getUserName

public String getUserName()
The User with whom the MFA device is associated.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The User with whom the MFA device is associated.

setUserName

public void setUserName(String userName)
The User with whom the MFA device is associated.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The User with whom the MFA device is associated.

withUserName

public MFADevice withUserName(String userName)
The User with whom the MFA device is associated.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The User with whom the MFA device is associated.
Returns:
A reference to this updated object so that method calls can be chained together.

getSerialNumber

public String getSerialNumber()
Serial number that uniquely identifies the MFA device.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Returns:
Serial number that uniquely identifies the MFA device.

setSerialNumber

public void setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Parameters:
serialNumber - Serial number that uniquely identifies the MFA device.

withSerialNumber

public MFADevice withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Parameters:
serialNumber - Serial number that uniquely identifies the MFA device.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.