public interface MfaDevice
MfaDevice resource.
Each MfaDevice object is uniquely identified by these
identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate()
The convenient method form for the
Deactivate action. |
void |
deactivate(DeactivateMFADeviceRequest request)
Performs the
Deactivate action. |
void |
deactivate(DeactivateMFADeviceRequest request,
ResultCapture<Void> extractor)
Performs the
Deactivate action and use a ResultCapture to
retrieve the low-level client response. |
void |
deactivate(ResultCapture<Void> extractor)
The convenient method form for the
Deactivate action. |
void |
enable(EnableMFADeviceRequest request)
Performs the
Enable action. |
void |
enable(EnableMFADeviceRequest request,
ResultCapture<Void> extractor)
Performs the
Enable action and use a ResultCapture to
retrieve the low-level client response. |
void |
enable(String authenticationCode1,
String authenticationCode2)
The convenient method form for the
Enable action. |
void |
enable(String authenticationCode1,
String authenticationCode2,
ResultCapture<Void> extractor)
The convenient method form for the
Enable action. |
Date |
getEnableDate()
Gets the value of the EnableDate attribute.
|
String |
getSerialNumber()
Gets the value of the SerialNumber identifier.
|
User |
getUser()
Retrieves the
User resource referenced by this resource. |
String |
getUserName()
Gets the value of the UserName identifier.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
void |
resync(ResyncMFADeviceRequest request)
Performs the
Resync action. |
void |
resync(ResyncMFADeviceRequest request,
ResultCapture<Void> extractor)
Performs the
Resync action and use a ResultCapture to
retrieve the low-level client response. |
void |
resync(String authenticationCode1,
String authenticationCode2)
The convenient method form for the
Resync action. |
void |
resync(String authenticationCode1,
String authenticationCode2,
ResultCapture<Void> extractor)
The convenient method form for the
Resync action. |
boolean isLoaded()
false, calls to attribute getter methods on this
instance will make an implicit call to load() to retrieve the
value.String getSerialNumber()
String getUserName()
Date getEnableDate()
load() is made to retrieve the value of the
attribute.User getUser()
User resource referenced by this resource.void enable(EnableMFADeviceRequest request)
Enable action.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
EnableMFADeviceRequestvoid enable(EnableMFADeviceRequest request, ResultCapture<Void> extractor)
Enable action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
EnableMFADeviceRequestvoid enable(String authenticationCode1, String authenticationCode2)
Enable action.enable(EnableMFADeviceRequest)void enable(String authenticationCode1, String authenticationCode2, ResultCapture<Void> extractor)
Enable action.void deactivate(DeactivateMFADeviceRequest request)
Deactivate action.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
DeactivateMFADeviceRequestvoid deactivate(DeactivateMFADeviceRequest request, ResultCapture<Void> extractor)
Deactivate action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
DeactivateMFADeviceRequestvoid deactivate()
Deactivate action.void deactivate(ResultCapture<Void> extractor)
Deactivate action.void resync(ResyncMFADeviceRequest request)
Resync action.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
ResyncMFADeviceRequestvoid resync(ResyncMFADeviceRequest request, ResultCapture<Void> extractor)
Resync action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
MfaDevice resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier.
SerialNumber
- mapped from the SerialNumber identifier.
ResyncMFADeviceRequestvoid resync(String authenticationCode1, String authenticationCode2)
Resync action.resync(ResyncMFADeviceRequest)void resync(String authenticationCode1, String authenticationCode2, ResultCapture<Void> extractor)
Resync action.Copyright © 2014. All rights reserved.