public AccountTakeoverActionsType withMediumAction(AccountTakeoverActionType mediumAction) {
        setMediumAction(mediumAction);
        return this;
    }
<p>
Action to take for a medium risk.
</p>

@param mediumAction
       Action to take for a medium risk.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/AccountTakeoverActionsType.java