|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.identitymanagement.model.VirtualMFADevice
public class VirtualMFADevice
The VirtualMFADevice
data type contains information about
a virtual MFA device.
Constructor Summary | |
---|---|
VirtualMFADevice()
|
Method Summary | |
---|---|
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. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VirtualMFADevice()
Method Detail |
---|
public String getSerialNumber()
VirtualMFADevice
.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
VirtualMFADevice
.public void setSerialNumber(String serialNumber)
VirtualMFADevice
.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber
- The serial number associated with VirtualMFADevice
.public VirtualMFADevice withSerialNumber(String serialNumber)
VirtualMFADevice
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber
- The serial number associated with VirtualMFADevice
.
public ByteBuffer getBase32StringSeed()
Base32StringSeed
is
Base64-encoded.
Base32StringSeed
is
Base64-encoded.public void setBase32StringSeed(ByteBuffer base32StringSeed)
Base32StringSeed
is
Base64-encoded.
base32StringSeed
- The Base32 seed defined as specified in RFC3548. The Base32StringSeed
is
Base64-encoded.public VirtualMFADevice withBase32StringSeed(ByteBuffer base32StringSeed)
Base32StringSeed
is
Base64-encoded.
Returns a reference to this object so that method calls can be chained together.
base32StringSeed
- The Base32 seed defined as specified in RFC3548. The Base32StringSeed
is
Base64-encoded.
public ByteBuffer getQRCodePNG()
Base32String
is Base64-encoded.
Base32String
is Base64-encoded.public void setQRCodePNG(ByteBuffer qRCodePNG)
Base32String
is Base64-encoded.
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.public VirtualMFADevice withQRCodePNG(ByteBuffer qRCodePNG)
Base32String
is Base64-encoded.
Returns a reference to this object so that method calls can be chained together.
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.
public User getUser()
This data type is used as a response element in the following actions:
This data type is used as a response element in the following actions:
public void setUser(User user)
This data type is used as a response element in the following actions:
user
- The User data type contains information about a user. This data type is used as a response element in the following actions:
public VirtualMFADevice withUser(User 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.
user
- The User data type contains information about a user. This data type is used as a response element in the following actions:
public Date getEnableDate()
public void setEnableDate(Date enableDate)
enableDate
- The new value for the EnableDate property for this object.public VirtualMFADevice withEnableDate(Date enableDate)
Returns a reference to this object so that method calls can be chained together.
enableDate
- The new value for the EnableDate property for this object.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |