public static interface CreateVirtualMfaDeviceResponse.Builder extends IamResponse.Builder, CopyableBuilder<CreateVirtualMfaDeviceResponse.Builder,CreateVirtualMfaDeviceResponse>
Modifier and Type | Method and Description |
---|---|
default CreateVirtualMfaDeviceResponse.Builder |
virtualMFADevice(Consumer<VirtualMFADevice.Builder> virtualMFADevice)
A structure containing details about the new virtual MFA device.
|
CreateVirtualMfaDeviceResponse.Builder |
virtualMFADevice(VirtualMFADevice virtualMFADevice)
A structure containing details about the new virtual MFA device.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateVirtualMfaDeviceResponse.Builder virtualMFADevice(VirtualMFADevice virtualMFADevice)
A structure containing details about the new virtual MFA device.
virtualMFADevice
- A structure containing details about the new virtual MFA device.default CreateVirtualMfaDeviceResponse.Builder virtualMFADevice(Consumer<VirtualMFADevice.Builder> virtualMFADevice)
A structure containing details about the new virtual MFA device.
This is a convenience that creates an instance of theVirtualMFADevice.Builder
avoiding the need to
create one manually via VirtualMFADevice.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to virtualMFADevice(VirtualMFADevice)
.virtualMFADevice
- a consumer that will call methods on VirtualMFADevice.Builder
virtualMFADevice(VirtualMFADevice)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.