@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeactivateMFADeviceRequest()
public DeactivateMFADeviceRequest(String userName, String serialNumber)
userName
- The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is
the device ARN.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
public void setUserName(String userName)
The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public String getUserName()
The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public DeactivateMFADeviceRequest withUserName(String userName)
The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the user whose MFA device you want to deactivate.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
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.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is
the device ARN.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
public String getSerialNumber()
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
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.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is
the device ARN.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
public String toString()
toString
in class Object
Object.toString()
public DeactivateMFADeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.