com.amazonaws.services.identitymanagement.model
Class ResyncMFADeviceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.ResyncMFADeviceRequest

public class ResyncMFADeviceRequest
extends AmazonWebServiceRequest

Container for the parameters to the ResyncMFADevice operation.

Synchronizes the specified MFA device with AWS servers.

See Also:
AmazonIdentityManagement.resyncMFADevice(ResyncMFADeviceRequest)

Constructor Summary
ResyncMFADeviceRequest()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResyncMFADeviceRequest

public ResyncMFADeviceRequest()
Method Detail

getUserName

public String getUserName()
Name of the User whose MFA device you want to resynchronize.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
Name of the User whose MFA device you want to resynchronize.

setUserName

public void setUserName(String userName)
Name of the User whose MFA device you want to resynchronize.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the User whose MFA device you want to resynchronize.

withUserName

public ResyncMFADeviceRequest withUserName(String userName)
Name of the User whose MFA device you want to resynchronize.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the User whose MFA device you want to resynchronize.
Returns:
A reference to this updated object so that method calls can be chained together.

getSerialNumber

public String getSerialNumber()
Serial number that uniquely identifies the MFA device.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Returns:
Serial number that uniquely identifies the MFA device.

setSerialNumber

public void setSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Parameters:
serialNumber - Serial number that uniquely identifies the MFA device.

withSerialNumber

public ResyncMFADeviceRequest withSerialNumber(String serialNumber)
Serial number that uniquely identifies the MFA device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 9 - 48
Pattern: [\w]*

Parameters:
serialNumber - Serial number that uniquely identifies the MFA device.
Returns:
A reference to this updated object so that method calls can be chained together.

getAuthenticationCode1

public String getAuthenticationCode1()
An authentication code emitted by the device.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Returns:
An authentication code emitted by the device.

setAuthenticationCode1

public void setAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Parameters:
authenticationCode1 - An authentication code emitted by the device.

withAuthenticationCode1

public ResyncMFADeviceRequest withAuthenticationCode1(String authenticationCode1)
An authentication code emitted by the device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Parameters:
authenticationCode1 - An authentication code emitted by the device.
Returns:
A reference to this updated object so that method calls can be chained together.

getAuthenticationCode2

public String getAuthenticationCode2()
A subsequent authentication code emitted by the device.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Returns:
A subsequent authentication code emitted by the device.

setAuthenticationCode2

public void setAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Parameters:
authenticationCode2 - A subsequent authentication code emitted by the device.

withAuthenticationCode2

public ResyncMFADeviceRequest withAuthenticationCode2(String authenticationCode2)
A subsequent authentication code emitted by the device.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 6 - 6
Pattern: [\d]*

Parameters:
authenticationCode2 - A subsequent authentication code emitted by the device.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.