@Generated(value="software.amazon.awssdk:codegen") public final class MFADevice extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MFADevice.Builder,MFADevice>
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MFADevice.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MFADevice.Builder |
builder() |
Instant |
enableDate()
The date when the MFA device was enabled for the user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MFADevice.Builder> |
serializableBuilderClass() |
String |
serialNumber()
The serial number that uniquely identifies the MFA device.
|
MFADevice.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The user with whom the MFA device is associated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The user with whom the MFA device is associated.
public final String serialNumber()
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
public final Instant enableDate()
The date when the MFA device was enabled for the user.
public MFADevice.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MFADevice.Builder,MFADevice>public static MFADevice.Builder builder()
public static Class<? extends MFADevice.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.