def METHOD_NAME(self, dry_run=False):
    """
    This exists solely to prevent having to have duplicate code in both  :py:meth:`do_dry_run`
    and :py:meth:`do_action` because :py:meth:`~.elasticsearch.client.IndicesClient.rollover`
    has its own ``dry_run`` flag.
    """
    return self.client.indices.rollover(
        alias=self.name,
        new_index=self.new_index,
        conditions=self.conditions,
        settings=self.settings,
        dry_run=dry_run,
        wait_for_active_shards=self.wait_for_active_shards,
    )