public class AccountTakeoverActionType extends Object implements Serializable
Account takeover action type.
| Constructor and Description |
|---|
AccountTakeoverActionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEventAction()
The event action.
|
Boolean |
getNotify()
Flag specifying whether to send a notification.
|
int |
hashCode() |
Boolean |
isNotify()
Flag specifying whether to send a notification.
|
void |
setEventAction(AccountTakeoverEventActionType eventAction)
The event action.
|
void |
setEventAction(String eventAction)
The event action.
|
void |
setNotify(Boolean notify)
Flag specifying whether to send a notification.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccountTakeoverActionType |
withEventAction(AccountTakeoverEventActionType eventAction)
The event action.
|
AccountTakeoverActionType |
withEventAction(String eventAction)
The event action.
|
AccountTakeoverActionType |
withNotify(Boolean notify)
Flag specifying whether to send a notification.
|
public Boolean isNotify()
Flag specifying whether to send a notification.
Flag specifying whether to send a notification.
public Boolean getNotify()
Flag specifying whether to send a notification.
Flag specifying whether to send a notification.
public void setNotify(Boolean notify)
Flag specifying whether to send a notification.
notify - Flag specifying whether to send a notification.
public AccountTakeoverActionType withNotify(Boolean notify)
Flag specifying whether to send a notification.
Returns a reference to this object so that method calls can be chained together.
notify - Flag specifying whether to send a notification.
public String getEventAction()
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.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
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.
AccountTakeoverEventActionTypepublic void setEventAction(String 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.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
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.
AccountTakeoverEventActionTypepublic AccountTakeoverActionType withEventAction(String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
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.
AccountTakeoverEventActionTypepublic void setEventAction(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.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
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.
AccountTakeoverEventActionTypepublic AccountTakeoverActionType withEventAction(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION
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.
AccountTakeoverEventActionTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.