public class VirtualMFADevice extends Object implements Serializable
The VirtualMFADevice data type contains information about
a virtual MFA device.
| Constructor and Description |
|---|
VirtualMFADevice() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 ObjectObject.toString()Copyright © 2014. All rights reserved.