@Generated(value="software.amazon.awssdk:codegen") public final class MFADevice extends Object implements ToCopyableBuilder<MFADevice.Builder,MFADevice>
Contains information about an MFA device.
This data type is used as a response element in the ListMFADevices action.
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends MFADevice.Builder> |
serializableBuilderClass() |
String |
serialNumber()
The serial number that uniquely identifies the MFA device.
|
MFADevice.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userName()
The user with whom the MFA device is associated.
|
copy
public String userName()
The user with whom the MFA device is associated.
public String serialNumber()
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
public Instant enableDate()
The date when the MFA device was enabled for the user.
public MFADevice.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MFADevice.Builder,MFADevice>
public static MFADevice.Builder builder()
public static Class<? extends MFADevice.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.