|
Did this page help you?Yes No Tell us about it... |
||||||
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 name for which it was originally enabled.
AmazonIdentityManagement.deactivateMFADevice(DeactivateMFADeviceRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeactivateMFADeviceRequest()
Default constructor for a new DeactivateMFADeviceRequest object. |
|
DeactivateMFADeviceRequest(String userName,
String serialNumber)
Constructs a new DeactivateMFADeviceRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getSerialNumber()
The serial number that uniquely identifies the MFA device. |
String |
getUserName()
Name of the user whose MFA device you want to deactivate. |
int |
hashCode()
|
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeactivateMFADeviceRequest()
public DeactivateMFADeviceRequest(String userName, String serialNumber)
userName
- Name of the user whose MFA device you want to
deactivate.serialNumber
- The serial number that uniquely identifies the MFA
device. For virtual MFA devices, the serial number is the device ARN.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 - 256
Pattern: [\w+=/:,.@-]*
public void setSerialNumber(String serialNumber)
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual
MFA devices, the serial number is the device ARN.public DeactivateMFADeviceRequest withSerialNumber(String serialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual
MFA devices, the serial number is the device ARN.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |