def account_id(self, account_id):
        """
        Sets the account_id of this ServicePackageQuotaHistoryReservation.
        Account ID.

        :param account_id: The account_id of this ServicePackageQuotaHistoryReservation.
        :type: str
        """
        if account_id is None:
            raise ValueError("Invalid value for `account_id`, must not be `None`")
        if account_id is not None and len(account_id) > 250:
            raise ValueError("Invalid value for `account_id`, length must be less than or equal to `250`")
        if account_id is not None and len(account_id) < 1:
            raise ValueError("Invalid value for `account_id`, length must be greater than or equal to `1`")

        self._account_id = account_id