public class DeactivateMFADeviceRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeactivateMFADevice operation.
Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.
| コンストラクタと説明 |
|---|
DeactivateMFADeviceRequest()
Default constructor for a new DeactivateMFADeviceRequest object.
|
DeactivateMFADeviceRequest(java.lang.String userName,
java.lang.String serialNumber)
Constructs a new DeactivateMFADeviceRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSerialNumber()
The serial number that uniquely identifies the MFA device.
|
java.lang.String |
getUserName()
Name of the user whose MFA device you want to deactivate.
|
int |
hashCode() |
void |
setSerialNumber(java.lang.String serialNumber)
The serial number that uniquely identifies the MFA device.
|
void |
setUserName(java.lang.String userName)
Name of the user whose MFA device you want to deactivate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeactivateMFADeviceRequest |
withSerialNumber(java.lang.String serialNumber)
The serial number that uniquely identifies the MFA device.
|
DeactivateMFADeviceRequest |
withUserName(java.lang.String userName)
Name of the user whose MFA device you want to deactivate.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeactivateMFADeviceRequest()
public DeactivateMFADeviceRequest(java.lang.String userName,
java.lang.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.public java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user whose MFA device you want to deactivate.public DeactivateMFADeviceRequest withUserName(java.lang.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 java.lang.String getSerialNumber()
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
public void setSerialNumber(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object