public static interface VirtualMFADevice.Builder extends SdkPojo, CopyableBuilder<VirtualMFADevice.Builder,VirtualMFADevice>
| Modifier and Type | Method and Description |
|---|---|
VirtualMFADevice.Builder |
base32StringSeed(SdkBytes base32StringSeed)
The base32 seed defined as specified in RFC3548.
|
VirtualMFADevice.Builder |
enableDate(Instant enableDate)
The date and time on which the virtual MFA device was enabled.
|
VirtualMFADevice.Builder |
qrCodePNG(SdkBytes qrCodePNG)
A QR code PNG image that encodes
otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where
$virtualMFADeviceName is one of the create call arguments. |
VirtualMFADevice.Builder |
serialNumber(String serialNumber)
The serial number associated with
VirtualMFADevice. |
VirtualMFADevice.Builder |
tags(Collection<Tag> tags)
A list of tags that are attached to the virtual MFA device.
|
VirtualMFADevice.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the virtual MFA device.
|
VirtualMFADevice.Builder |
tags(Tag... tags)
A list of tags that are attached to the virtual MFA device.
|
default VirtualMFADevice.Builder |
user(Consumer<User.Builder> user)
The IAM user associated with this virtual MFA device.
|
VirtualMFADevice.Builder |
user(User user)
The IAM user associated with this virtual MFA device.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVirtualMFADevice.Builder serialNumber(String serialNumber)
The serial number associated with VirtualMFADevice.
serialNumber - The serial number associated with VirtualMFADevice.VirtualMFADevice.Builder base32StringSeed(SdkBytes base32StringSeed)
The base32 seed defined as specified in RFC3548. The
Base32StringSeed is base32-encoded.
base32StringSeed - The base32 seed defined as specified in RFC3548.
The Base32StringSeed is base32-encoded.VirtualMFADevice.Builder qrCodePNG(SdkBytes 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.default VirtualMFADevice.Builder user(Consumer<User.Builder> user)
The IAM user associated with this virtual MFA device.
This is a convenience method that creates an instance of theUser.Builder avoiding the need to create
one manually via User.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to user(User).
user - a consumer that will call methods on User.Builderuser(User)VirtualMFADevice.Builder enableDate(Instant 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.VirtualMFADevice.Builder tags(Collection<Tag> tags)
A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.VirtualMFADevice.Builder tags(Tag... tags)
A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags - A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.VirtualMFADevice.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags that are attached to the virtual MFA device. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.