Interface MFADevice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MFADevice.Builder,
,MFADevice> SdkBuilder<MFADevice.Builder,
,MFADevice> SdkPojo
- Enclosing class:
MFADevice
public static interface MFADevice.Builder
extends SdkPojo, CopyableBuilder<MFADevice.Builder,MFADevice>
-
Method Summary
Modifier and TypeMethodDescriptionenableDate
(Instant enableDate) The date when the MFA device was enabled for the user.serialNumber
(String serialNumber) The serial number that uniquely identifies the MFA device.The user with whom the MFA device is associated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
userName
The user with whom the MFA device is associated.
- Parameters:
userName
- The user with whom the MFA device is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serialNumber
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
- Parameters:
serialNumber
- The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableDate
The date when the MFA device was enabled for the user.
- Parameters:
enableDate
- The date when the MFA device was enabled for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-