@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 event action.
|
String |
eventActionAsString()
The event 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 AccountTakeoverEventActionType eventAction()
The event action.
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Throw MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Throw MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user 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 Throw MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Throw MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user sign-in.
AccountTakeoverEventActionTypepublic String eventActionAsString()
The event action.
BLOCK Choosing this action will block the request.
MFA_IF_CONFIGURED Throw MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Throw MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user 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 Throw MFA challenge if user has configured it, else allow the request.
MFA_REQUIRED Throw MFA challenge if user has configured it, else block the request.
NO_ACTION Allow the user sign-in.
AccountTakeoverEventActionTypepublic 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.