def METHOD_NAME(self) -> InlineKeyboardButton:
    action = Action.RESOLVE if not self.alert_group.resolved else Action.UNRESOLVE
    return self._render_button(text=action.value.capitalize(), action=action)