def entity_type(self, entity_type):
        """Sets the entity_type of this SavedSearch.

        The Wavefront entity type over which to search  # noqa: E501

        :param entity_type: The entity_type of this SavedSearch.  # noqa: E501
        :type: str
        """
        if entity_type is None:
            raise ValueError("Invalid value for `entity_type`, must not be `None`")  # noqa: E501
        allowed_values = ["DASHBOARD", "ALERT", "MAINTENANCE_WINDOW", "NOTIFICANT", "EVENT", "SOURCE", "EXTERNAL_LINK", "AGENT", "CLOUD_INTEGRATION", "APPLICATION", "REGISTERED_QUERY", "USER", "USER_GROUP"]  # noqa: E501
        if entity_type not in allowed_values:
            raise ValueError(
                "Invalid value for `entity_type` ({0}), must be one of {1}"  # noqa: E501
                .format(entity_type, allowed_values)
            )

        self._entity_type = entity_type
Sets the entity_type of this SavedSearch.

        The Wavefront entity type over which to search  # noqa: E501

        :param entity_type: The entity_type of this SavedSearch.  # noqa: E501
        :type: str