|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.ResyncMFADeviceRequest
public class ResyncMFADeviceRequest
Container for the parameters to the ResyncMFADevice operation.
Synchronizes the specified MFA device with AWS servers.
AmazonIdentityManagement.resyncMFADevice(ResyncMFADeviceRequest)| Constructor Summary | |
|---|---|
ResyncMFADeviceRequest()
Default constructor for a new ResyncMFADeviceRequest object. |
|
ResyncMFADeviceRequest(String userName,
String serialNumber,
String authenticationCode1,
String authenticationCode2)
Constructs a new ResyncMFADeviceRequest object. |
|
| Method Summary | |
|---|---|
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()
Name of the user whose MFA device you want to resynchronize. |
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)
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)
Name of the user whose MFA device you want to resynchronize. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResyncMFADeviceRequest()
public ResyncMFADeviceRequest(String userName,
String serialNumber,
String authenticationCode1,
String authenticationCode2)
userName - 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.| Method Detail |
|---|
public String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user whose MFA device you want to resynchronize.public ResyncMFADeviceRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user whose MFA device you want to resynchronize.
public String getSerialNumber()
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
public void setSerialNumber(String serialNumber)
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber - Serial number that uniquely identifies the MFA device.public ResyncMFADeviceRequest withSerialNumber(String serialNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber - Serial number that uniquely identifies the MFA device.
public String getAuthenticationCode1()
Constraints:
Length: 6 - 6
Pattern: [\d]*
public void setAuthenticationCode1(String authenticationCode1)
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode1 - An authentication code emitted by the device.public ResyncMFADeviceRequest withAuthenticationCode1(String authenticationCode1)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode1 - An authentication code emitted by the device.
public String getAuthenticationCode2()
Constraints:
Length: 6 - 6
Pattern: [\d]*
public void setAuthenticationCode2(String authenticationCode2)
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode2 - A subsequent authentication code emitted by the device.public ResyncMFADeviceRequest withAuthenticationCode2(String authenticationCode2)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode2 - A subsequent authentication code emitted by the device.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||