public class ResyncMFADeviceRequest extends AmazonWebServiceRequest implements java.io.Serializable
ResyncMFADevice operation.
Synchronizes the specified MFA device with AWS servers.
| コンストラクタと説明 |
|---|
ResyncMFADeviceRequest()
Default constructor for a new ResyncMFADeviceRequest object.
|
ResyncMFADeviceRequest(java.lang.String userName,
java.lang.String serialNumber,
java.lang.String authenticationCode1,
java.lang.String authenticationCode2)
Constructs a new ResyncMFADeviceRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthenticationCode1()
An authentication code emitted by the device.
|
java.lang.String |
getAuthenticationCode2()
A subsequent authentication code emitted by the device.
|
java.lang.String |
getSerialNumber()
Serial number that uniquely identifies the MFA device.
|
java.lang.String |
getUserName()
Name of the user whose MFA device you want to resynchronize.
|
int |
hashCode() |
void |
setAuthenticationCode1(java.lang.String authenticationCode1)
An authentication code emitted by the device.
|
void |
setAuthenticationCode2(java.lang.String authenticationCode2)
A subsequent authentication code emitted by the device.
|
void |
setSerialNumber(java.lang.String serialNumber)
Serial number that uniquely identifies the MFA device.
|
void |
setUserName(java.lang.String userName)
Name of the user whose MFA device you want to resynchronize.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResyncMFADeviceRequest |
withAuthenticationCode1(java.lang.String authenticationCode1)
An authentication code emitted by the device.
|
ResyncMFADeviceRequest |
withAuthenticationCode2(java.lang.String authenticationCode2)
A subsequent authentication code emitted by the device.
|
ResyncMFADeviceRequest |
withSerialNumber(java.lang.String serialNumber)
Serial number that uniquely identifies the MFA device.
|
ResyncMFADeviceRequest |
withUserName(java.lang.String userName)
Name of the user whose MFA device you want to resynchronize.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ResyncMFADeviceRequest()
public ResyncMFADeviceRequest(java.lang.String userName,
java.lang.String serialNumber,
java.lang.String authenticationCode1,
java.lang.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.public java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user whose MFA device you want to resynchronize.public ResyncMFADeviceRequest withUserName(java.lang.String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user whose MFA device you want to resynchronize.public java.lang.String getSerialNumber()
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
public void setSerialNumber(java.lang.String serialNumber)
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber - Serial number that uniquely identifies the MFA device.public ResyncMFADeviceRequest withSerialNumber(java.lang.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 java.lang.String getAuthenticationCode1()
Constraints:
Length: 6 - 6
Pattern: [\d]*
public void setAuthenticationCode1(java.lang.String authenticationCode1)
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode1 - An authentication code emitted by the device.public ResyncMFADeviceRequest withAuthenticationCode1(java.lang.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 java.lang.String getAuthenticationCode2()
Constraints:
Length: 6 - 6
Pattern: [\d]*
public void setAuthenticationCode2(java.lang.String authenticationCode2)
Constraints:
Length: 6 - 6
Pattern: [\d]*
authenticationCode2 - A subsequent authentication code emitted by the device.public ResyncMFADeviceRequest withAuthenticationCode2(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object