Interface AccountTakeoverActionType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccountTakeoverActionType.Builder,AccountTakeoverActionType>,SdkBuilder<AccountTakeoverActionType.Builder,AccountTakeoverActionType>,SdkPojo
- Enclosing class:
- AccountTakeoverActionType
public static interface AccountTakeoverActionType.Builder extends SdkPojo, CopyableBuilder<AccountTakeoverActionType.Builder,AccountTakeoverActionType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountTakeoverActionType.BuildereventAction(String eventAction)The action to take in response to the account takeover action.AccountTakeoverActionType.BuildereventAction(AccountTakeoverEventActionType eventAction)The action to take in response to the account takeover action.AccountTakeoverActionType.BuildersendNotification(Boolean sendNotification)Flag specifying whether to send a notification.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eventAction
AccountTakeoverActionType.Builder eventAction(String eventAction)
The action to take in response to the account takeover action. Valid values are as follows:
-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
- Parameters:
eventAction- The action to take in response to the account takeover action. Valid values are as follows:-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountTakeoverEventActionType,AccountTakeoverEventActionType
-
-
eventAction
AccountTakeoverActionType.Builder eventAction(AccountTakeoverEventActionType eventAction)
The action to take in response to the account takeover action. Valid values are as follows:
-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
- Parameters:
eventAction- The action to take in response to the account takeover action. Valid values are as follows:-
BLOCKChoosing this action will block the request. -
MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request. -
NO_ACTIONAllow the user to sign in.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountTakeoverEventActionType,AccountTakeoverEventActionType
-
-
sendNotification
AccountTakeoverActionType.Builder sendNotification(Boolean sendNotification)
Flag specifying whether to send a notification.
- Parameters:
sendNotification- Flag specifying whether to send a notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-