def by_incident_id(self,incident_id: str) -> IncidentItemRequestBuilder:
        """
        Provides operations to manage the incidents property of the microsoft.graph.security entity.
        param incident_id: The unique identifier of incident
        Returns: IncidentItemRequestBuilder
        """
        if incident_id is None:
            raise TypeError("incident_id cannot be null.")
        from .item.incident_item_request_builder import IncidentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["incident%2Did"] = incident_id
        return IncidentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the incidents property of the microsoft.graph.security entity.
        param incident_id: The unique identifier of incident
        Returns: IncidentItemRequestBuilder
        
msgraph/generated/security/incidents/incidents_request_builder.py