@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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 ResyncMFADeviceRequest()
public ResyncMFADeviceRequest(String userName, String serialNumber, String authenticationCode1, String authenticationCode2)
userName
- The name of the user whose MFA device you want to resynchronize.
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
- Serial number that uniquely identifies the MFA device.
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: =,.@-
authenticationCode1
- An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode2
- A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
public void setUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
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 resynchronize.
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 resynchronize.
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 ResyncMFADeviceRequest withUserName(String userName)
The name of the user whose MFA device you want to resynchronize.
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 resynchronize.
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)
Serial number that uniquely identifies the MFA device.
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
- Serial number that uniquely identifies the MFA device.
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()
Serial number that uniquely identifies the MFA device.
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 ResyncMFADeviceRequest withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.
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
- Serial number that uniquely identifies the MFA device.
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 setAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode1
- An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
public String getAuthenticationCode1()
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
The format for this parameter is a sequence of six digits.
public ResyncMFADeviceRequest withAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode1
- An authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
public void setAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode2
- A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
public String getAuthenticationCode2()
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
The format for this parameter is a sequence of six digits.
public ResyncMFADeviceRequest withAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
authenticationCode2
- A subsequent authentication code emitted by the device.
The format for this parameter is a sequence of six digits.
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.