ToCopyableBuilder<MFADevice.Builder,MFADevice>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
MFADevice.Builder |
Modifier and Type | Method | Description |
---|---|---|
static MFADevice.Builder |
builder() |
|
Date |
enableDate() |
The date when the MFA device was enabled for the user.
|
boolean |
equals(Object obj) |
|
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.
|
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 Date 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.