@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountTakeoverActionType extends Object implements Serializable, Cloneable, StructuredPojo
Account takeover action type.
Constructor and Description |
---|
AccountTakeoverActionType() |
Modifier and Type | Method and Description |
---|---|
AccountTakeoverActionType |
clone() |
boolean |
equals(Object obj) |
String |
getEventAction()
The action to take in response to the account takeover action.
|
Boolean |
getNotify()
Flag specifying whether to send a notification.
|
int |
hashCode() |
Boolean |
isNotify()
Flag specifying whether to send a notification.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventAction(String eventAction)
The action to take in response to the account takeover action.
|
void |
setNotify(Boolean notify)
Flag specifying whether to send a notification.
|
String |
toString()
Returns a string representation of this object.
|
AccountTakeoverActionType |
withEventAction(AccountTakeoverEventActionType eventAction)
The action to take in response to the account takeover action.
|
AccountTakeoverActionType |
withEventAction(String eventAction)
The action to take in response to the account takeover action.
|
AccountTakeoverActionType |
withNotify(Boolean notify)
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 Boolean getNotify()
Flag specifying whether to send a notification.
public AccountTakeoverActionType withNotify(Boolean notify)
Flag specifying whether to send a notification.
notify
- Flag specifying whether to send a notification.public Boolean isNotify()
Flag specifying whether to send a notification.
public void setEventAction(String 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.
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.
AccountTakeoverEventActionType
public String getEventAction()
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.
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.
AccountTakeoverEventActionType
public AccountTakeoverActionType withEventAction(String 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.
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.
AccountTakeoverEventActionType
public AccountTakeoverActionType withEventAction(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.
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.
AccountTakeoverEventActionType
public String toString()
toString
in class Object
Object.toString()
public AccountTakeoverActionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.