def METHOD_NAME(self, METHOD_NAME):
    """
    Sets the time to live of the search URL.
    :param ttl: The time to live in seconds.
    :return: self
    """
    self._ttl = METHOD_NAME
    return self