public class DeleteVirtualMFADeviceRequest extends AmazonWebServiceRequest implements Serializable
DeleteVirtualMFADevice operation
.
Deletes a virtual MFA device.
NOTE:You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.
Constructor and Description |
---|
DeleteVirtualMFADeviceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSerialNumber()
The serial number that uniquely identifies the MFA device.
|
int |
hashCode() |
void |
setSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVirtualMFADeviceRequest |
withSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
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 same as the ARN.public DeleteVirtualMFADeviceRequest 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 same as the ARN.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.