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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MFADevice.BuilderenableDate(Instant enableDate)The date when the MFA device was enabled for the user.MFADevice.BuilderserialNumber(String serialNumber)The serial number that uniquely identifies the MFA device.MFADevice.BuilderuserName(String userName)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 Detail
-
userName
MFADevice.Builder userName(String 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
MFADevice.Builder serialNumber(String 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
MFADevice.Builder enableDate(Instant 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.
-
-