public class DeactivateMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeactivateMFADeviceRequest()
Default constructor for DeactivateMFADeviceRequest object.
|
DeactivateMFADeviceRequest(String userName,
String serialNumber)
Constructs a new DeactivateMFADeviceRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeactivateMFADeviceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSerialNumber()
The serial number that uniquely identifies the MFA device.
|
String |
getUserName()
The 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)
The 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)
The name of the user whose MFA device you want to deactivate.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeactivateMFADeviceRequest()
public DeactivateMFADeviceRequest(String userName, String serialNumber)
userName - The 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 void setUserName(String userName)
The name of the user whose MFA device you want to deactivate.
userName - The name of the user whose MFA device you want to deactivate.public String getUserName()
The name of the user whose MFA device you want to deactivate.
public DeactivateMFADeviceRequest withUserName(String userName)
The name of the user whose MFA device you want to deactivate.
userName - The name of the user whose MFA device you want to deactivate.public void setSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
serialNumber - The serial number that uniquely identifies the MFA device. For
virtual MFA devices, the serial number is the device ARN.public String getSerialNumber()
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)
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
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 ObjectObject.toString()public DeactivateMFADeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.