def METHOD_NAME(self, is_local: bool) -> "TimedMessage":
    logger.info(f"Activating {self.id}! is_local={is_local}")
    now = time.time()
    return replace(
        self,
        epoch_time_activation_began=now,
        status=replace(
            self.status,
            state=ResourceState.ACTIVATING,
            message=f"Allocating, should take {self.allocation_seconds}s to activate",
        ),
    )