|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.DeactivateMFADeviceRequest
public class DeactivateMFADeviceRequest
Container for the parameters to the DeactivateMFADevice operation
.
Deactivates the specified MFA device and removes it from association with the user for which it was originally enabled.
AmazonIdentityManagement.deactivateMFADevice(DeactivateMFADeviceRequest)
Constructor Summary | |
---|---|
DeactivateMFADeviceRequest()
|
Method Summary | |
---|---|
String |
getSerialNumber()
The serial number that uniquely identifies the MFA device. |
String |
getUserName()
Name of the user whose MFA device you want to deactivate. |
void |
setSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device. |
void |
setUserName(String userName)
Name of the user whose MFA device you want to deactivate. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeactivateMFADeviceRequest |
withSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device. |
DeactivateMFADeviceRequest |
withUserName(String userName)
Name of the user whose MFA device you want to deactivate. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeactivateMFADeviceRequest()
Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user whose MFA device you want to deactivate.public DeactivateMFADeviceRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user whose MFA device you want to deactivate.
public String getSerialNumber()
Constraints:
Length: 9 - 48
Pattern: [\w]*
public void setSerialNumber(String serialNumber)
Constraints:
Length: 9 - 48
Pattern: [\w]*
serialNumber
- The serial number that uniquely identifies the MFA device.public DeactivateMFADeviceRequest withSerialNumber(String serialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 9 - 48
Pattern: [\w]*
serialNumber
- The serial number that uniquely identifies the MFA device.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |