@Generated(value="software.amazon.awssdk:codegen") public final class AccountTakeoverActionType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountTakeoverActionType.Builder,AccountTakeoverActionType>
Account takeover action type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccountTakeoverActionType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccountTakeoverActionType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AccountTakeoverEventActionType |
eventAction()
The action to take in response to the account takeover action.
|
String |
eventActionAsString()
The action to take in response to the account takeover action.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
Boolean |
sendNotification()
Flag specifying whether to send a notification.
|
static Class<? extends AccountTakeoverActionType.Builder> |
serializableBuilderClass() |
AccountTakeoverActionType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AccountTakeoverEventActionType eventAction()
The action to take in response to the account takeover action. Valid values are as follows:
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user to sign in.
If the service returns an enum value that is not available in the current SDK version, eventAction will
return AccountTakeoverEventActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from eventActionAsString().
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the
request.
MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user to sign in.
AccountTakeoverEventActionTypepublic final String eventActionAsString()
The action to take in response to the account takeover action. Valid values are as follows:
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user to sign in.
If the service returns an enum value that is not available in the current SDK version, eventAction will
return AccountTakeoverEventActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from eventActionAsString().
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the
request.
MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user to sign in.
AccountTakeoverEventActionTypepublic final Boolean sendNotification()
Flag specifying whether to send a notification.
public AccountTakeoverActionType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccountTakeoverActionType.Builder,AccountTakeoverActionType>public static AccountTakeoverActionType.Builder builder()
public static Class<? extends AccountTakeoverActionType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.