public class DeleteVirtualMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
Constructor and Description |
---|
DeleteVirtualMFADeviceRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteVirtualMFADeviceRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, 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()
public DeleteVirtualMFADeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.