public class ResyncMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ResyncMFADeviceRequest()
Default constructor for ResyncMFADeviceRequest object.
|
ResyncMFADeviceRequest(String userName,
String serialNumber,
String authenticationCode1,
String authenticationCode2)
Constructs a new ResyncMFADeviceRequest object.
|
Modifier and Type | Method and Description |
---|---|
ResyncMFADeviceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAuthenticationCode1()
An authentication code emitted by the device.
|
String |
getAuthenticationCode2()
A subsequent authentication code emitted by the device.
|
String |
getSerialNumber()
Serial number that uniquely identifies the MFA device.
|
String |
getUserName()
The name of the user whose MFA device you want to resynchronize.
|
int |
hashCode() |
void |
setAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
|
void |
setAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
|
void |
setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
|
void |
setUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResyncMFADeviceRequest |
withAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
|
ResyncMFADeviceRequest |
withAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
|
ResyncMFADeviceRequest |
withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
|
ResyncMFADeviceRequest |
withUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ResyncMFADeviceRequest()
public ResyncMFADeviceRequest(String userName, String serialNumber, String authenticationCode1, String authenticationCode2)
userName
- The name of the user whose MFA device you want to resynchronize.serialNumber
- Serial number that uniquely identifies the MFA device.authenticationCode1
- An authentication code emitted by the device.authenticationCode2
- A subsequent authentication code emitted by the device.public void setUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
userName
- The name of the user whose MFA device you want to resynchronize.public String getUserName()
The name of the user whose MFA device you want to resynchronize.
public ResyncMFADeviceRequest withUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
userName
- The name of the user whose MFA device you want to resynchronize.public void setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
serialNumber
- Serial number that uniquely identifies the MFA device.public String getSerialNumber()
Serial number that uniquely identifies the MFA device.
public ResyncMFADeviceRequest withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
serialNumber
- Serial number that uniquely identifies the MFA device.public void setAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
authenticationCode1
- An authentication code emitted by the device.public String getAuthenticationCode1()
An authentication code emitted by the device.
public ResyncMFADeviceRequest withAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
authenticationCode1
- An authentication code emitted by the device.public void setAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
authenticationCode2
- A subsequent authentication code emitted by the device.public String getAuthenticationCode2()
A subsequent authentication code emitted by the device.
public ResyncMFADeviceRequest withAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
authenticationCode2
- A subsequent authentication code emitted by the device.public String toString()
toString
in class Object
Object.toString()
public ResyncMFADeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.