public class VirtualMFADevice
extends java.lang.Object
implements java.io.Serializable
The VirtualMFADevice data type contains information about a virtual MFA device.
| コンストラクタと説明 |
|---|
VirtualMFADevice() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getBase32StringSeed()
The Base32 seed defined as specified in RFC3548.
|
java.util.Date |
getEnableDate()
Returns the value of the EnableDate property for this object.
|
java.nio.ByteBuffer |
getQRCodePNG()
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?
|
java.lang.String |
getSerialNumber()
The serial number associated with
VirtualMFADevice. |
User |
getUser()
The User data type contains information about a user.
|
int |
hashCode() |
void |
setBase32StringSeed(java.nio.ByteBuffer base32StringSeed)
The Base32 seed defined as specified in RFC3548.
|
void |
setEnableDate(java.util.Date enableDate)
Sets the value of the EnableDate property for this object.
|
void |
setQRCodePNG(java.nio.ByteBuffer qRCodePNG)
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?
|
void |
setSerialNumber(java.lang.String serialNumber)
The serial number associated with
VirtualMFADevice. |
void |
setUser(User user)
The User data type contains information about a user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VirtualMFADevice |
withBase32StringSeed(java.nio.ByteBuffer base32StringSeed)
The Base32 seed defined as specified in RFC3548.
|
VirtualMFADevice |
withEnableDate(java.util.Date enableDate)
Sets the value of the EnableDate property for this object.
|
VirtualMFADevice |
withQRCodePNG(java.nio.ByteBuffer qRCodePNG)
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?
|
VirtualMFADevice |
withSerialNumber(java.lang.String serialNumber)
The serial number associated with
VirtualMFADevice. |
VirtualMFADevice |
withUser(User user)
The User data type contains information about a user.
|
public java.lang.String getSerialNumber()
VirtualMFADevice.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
VirtualMFADevice.public void setSerialNumber(java.lang.String serialNumber)
VirtualMFADevice.
Constraints:
Length: 9 - 256
Pattern: [\w+=/:,.@-]*
serialNumber - The serial number associated with VirtualMFADevice.public VirtualMFADevice withSerialNumber(java.lang.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 java.nio.ByteBuffer getBase32StringSeed()
Base32StringSeed is
Base64-encoded.Base32StringSeed is
Base64-encoded.public void setBase32StringSeed(java.nio.ByteBuffer base32StringSeed)
Base32StringSeed is
Base64-encoded.base32StringSeed - The Base32 seed defined as specified in RFC3548. The Base32StringSeed is
Base64-encoded.public VirtualMFADevice withBase32StringSeed(java.nio.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 java.nio.ByteBuffer getQRCodePNG()
Base32String is Base64-encoded.Base32String is Base64-encoded.public void setQRCodePNG(java.nio.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(java.nio.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 java.util.Date getEnableDate()
public void setEnableDate(java.util.Date enableDate)
enableDate - The new value for the EnableDate property for this object.public VirtualMFADevice withEnableDate(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object