Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class VirtualMFADevice

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.VirtualMFADevice
All Implemented Interfaces:
Serializable

public class VirtualMFADevice
extends Object
implements Serializable

The VirtualMFADevice data type contains information about a virtual MFA device.

See Also:
Serialized Form

Constructor Summary
VirtualMFADevice()
           
 
Method Summary
 boolean equals(Object obj)
           
 ByteBuffer getBase32StringSeed()
          The Base32 seed defined as specified in RFC3548.
 Date getEnableDate()
          Returns the value of the EnableDate property for this object.
 ByteBuffer getQRCodePNG()
          A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format.
 String getSerialNumber()
          The serial number associated with VirtualMFADevice.
 User getUser()
          The User data type contains information about a user.
 int hashCode()
           
 void setBase32StringSeed(ByteBuffer base32StringSeed)
          The Base32 seed defined as specified in RFC3548.
 void setEnableDate(Date enableDate)
          Sets the value of the EnableDate property for this object.
 void setQRCodePNG(ByteBuffer qRCodePNG)
          A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format.
 void setSerialNumber(String serialNumber)
          The serial number associated with VirtualMFADevice.
 void setUser(User user)
          The User data type contains information about a user.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VirtualMFADevice withBase32StringSeed(ByteBuffer base32StringSeed)
          The Base32 seed defined as specified in RFC3548.
 VirtualMFADevice withEnableDate(Date enableDate)
          Sets the value of the EnableDate property for this object.
 VirtualMFADevice withQRCodePNG(ByteBuffer qRCodePNG)
          A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format.
 VirtualMFADevice withSerialNumber(String serialNumber)
          The serial number associated with VirtualMFADevice.
 VirtualMFADevice withUser(User user)
          The User data type contains information about a user.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualMFADevice

public VirtualMFADevice()
Method Detail

getSerialNumber

public String getSerialNumber()
The serial number associated with VirtualMFADevice.

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Returns:
The serial number associated with VirtualMFADevice.

setSerialNumber

public void setSerialNumber(String serialNumber)
The serial number associated with VirtualMFADevice.

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Parameters:
serialNumber - The serial number associated with VirtualMFADevice.

withSerialNumber

public VirtualMFADevice withSerialNumber(String serialNumber)
The serial number associated with VirtualMFADevice.

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

Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*

Parameters:
serialNumber - The serial number associated with VirtualMFADevice.
Returns:
A reference to this updated object so that method calls can be chained together.

getBase32StringSeed

public ByteBuffer getBase32StringSeed()
The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

Returns:
The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

setBase32StringSeed

public void setBase32StringSeed(ByteBuffer base32StringSeed)
The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

Parameters:
base32StringSeed - The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

withBase32StringSeed

public VirtualMFADevice withBase32StringSeed(ByteBuffer base32StringSeed)
The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.

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

Parameters:
base32StringSeed - The Base32 seed defined as specified in RFC3548. The Base32StringSeed is Base64-encoded.
Returns:
A reference to this updated object so that method calls can be chained together.

getQRCodePNG

public ByteBuffer getQRCodePNG()
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.

Returns:
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.

setQRCodePNG

public void setQRCodePNG(ByteBuffer qRCodePNG)
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.

Parameters:
qRCodePNG - A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.

withQRCodePNG

public VirtualMFADevice withQRCodePNG(ByteBuffer qRCodePNG)
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.

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

Parameters:
qRCodePNG - A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName? secret=$Base32String where $virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (accountId otherwise), and Base32String is the seed in Base32 format. The Base32String is Base64-encoded.
Returns:
A reference to this updated object so that method calls can be chained together.

getUser

public User getUser()
The User data type contains information about a user.

This data type is used as a response element in the following actions:

Returns:
The User data type contains information about a user.

This data type is used as a response element in the following actions:


setUser

public void setUser(User user)
The User data type contains information about a user.

This data type is used as a response element in the following actions:

Parameters:
user - The User data type contains information about a user.

This data type is used as a response element in the following actions:


withUser

public VirtualMFADevice withUser(User user)
The User data type contains information about a user.

This data type is used as a response element in the following actions:

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

Parameters:
user - The User data type contains information about a user.

This data type is used as a response element in the following actions:

Returns:
A reference to this updated object so that method calls can be chained together.

getEnableDate

public Date getEnableDate()
Returns the value of the EnableDate property for this object.

Returns:
The value of the EnableDate property for this object.

setEnableDate

public void setEnableDate(Date enableDate)
Sets the value of the EnableDate property for this object.

Parameters:
enableDate - The new value for the EnableDate property for this object.

withEnableDate

public VirtualMFADevice withEnableDate(Date enableDate)
Sets the value of the EnableDate property for this object.

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

Parameters:
enableDate - The new value for the EnableDate property for this object.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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