def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemRequestBuilder:
        """
        Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity.
        param risk_detection_id: The unique identifier of riskDetection
        Returns: RiskDetectionItemRequestBuilder
        """
        if risk_detection_id is None:
            raise TypeError("risk_detection_id cannot be null.")
        from .item.risk_detection_item_request_builder import RiskDetectionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["riskDetection%2Did"] = risk_detection_id
        return RiskDetectionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity.
        param risk_detection_id: The unique identifier of riskDetection
        Returns: RiskDetectionItemRequestBuilder
        
msgraph/generated/identity_protection/risk_detections/risk_detections_request_builder.py