Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class DeleteVirtualMFADeviceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.DeleteVirtualMFADeviceRequest
All Implemented Interfaces:
Serializable

public class DeleteVirtualMFADeviceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonIdentityManagement.deleteVirtualMFADevice(DeleteVirtualMFADeviceRequest), Serialized Form

Constructor Summary
DeleteVirtualMFADeviceRequest()
           
 
Method Summary
 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.
 
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

DeleteVirtualMFADeviceRequest

public DeleteVirtualMFADeviceRequest()
Method Detail

getSerialNumber

public String getSerialNumber()
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Returns:
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

setSerialNumber

public void setSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Parameters:
serialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

withSerialNumber

public DeleteVirtualMFADeviceRequest withSerialNumber(String serialNumber)
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Parameters:
serialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.