@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetMFADeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetMFADeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSerialNumber()
Serial number that uniquely identifies the MFA device.
|
String |
getUserName()
The friendly name identifying the user.
|
int |
hashCode() |
void |
setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
|
void |
setUserName(String userName)
The friendly name identifying the user.
|
String |
toString()
Returns a string representation of this object.
|
GetMFADeviceRequest |
withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
|
GetMFADeviceRequest |
withUserName(String userName)
The friendly name identifying the user.
|
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, withSdkRequestTimeoutpublic void setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
serialNumber - Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.public String getSerialNumber()
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
public GetMFADeviceRequest withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
serialNumber - Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.public void setUserName(String userName)
The friendly name identifying the user.
userName - The friendly name identifying the user.public String getUserName()
The friendly name identifying the user.
public GetMFADeviceRequest withUserName(String userName)
The friendly name identifying the user.
userName - The friendly name identifying the user.public String toString()
toString in class ObjectObject.toString()public GetMFADeviceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()