CopyableBuilder<VirtualMFADevice.Builder,VirtualMFADevice>
, SdkBuilder<VirtualMFADevice.Builder,VirtualMFADevice>
public static interface VirtualMFADevice.Builder extends CopyableBuilder<VirtualMFADevice.Builder,VirtualMFADevice>
Modifier and Type | Method | Description |
---|---|---|
VirtualMFADevice.Builder |
base32StringSeed(ByteBuffer base32StringSeed) |
The Base32 seed defined as specified in RFC3548.
|
VirtualMFADevice.Builder |
enableDate(Date enableDate) |
The date and time on which the virtual MFA device was enabled.
|
VirtualMFADevice.Builder |
qrCodePNG(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 (otherwise, the account ID otherwise), and Base32String is the seed in Base32
format. |
VirtualMFADevice.Builder |
serialNumber(String serialNumber) |
The serial number associated with
VirtualMFADevice . |
VirtualMFADevice.Builder |
user(User user) |
The IAM user associated with this virtual MFA device.
|
copy
apply, build
VirtualMFADevice.Builder serialNumber(String serialNumber)
The serial number associated with VirtualMFADevice
.
serialNumber
- The serial number associated with VirtualMFADevice
.VirtualMFADevice.Builder base32StringSeed(ByteBuffer base32StringSeed)
The Base32 seed defined as specified in RFC3548. The
Base32StringSeed
is Base64-encoded.
base32StringSeed
- The Base32 seed defined as specified in RFC3548.
The Base32StringSeed
is Base64-encoded.VirtualMFADevice.Builder qrCodePNG(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 (otherwise, the account ID otherwise), and Base32String
is the seed in Base32
format. The Base32String
value 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 (otherwise, the account ID otherwise), and Base32String
is the seed
in Base32 format. The Base32String
value is Base64-encoded.VirtualMFADevice.Builder user(User user)
The IAM user associated with this virtual MFA device.
user
- The IAM user associated with this virtual MFA device.VirtualMFADevice.Builder enableDate(Date enableDate)
The date and time on which the virtual MFA device was enabled.
enableDate
- The date and time on which the virtual MFA device was enabled.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.