def by_payload_id(self,payload_id: str) -> PayloadItemRequestBuilder:
        """
        Provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity.
        param payload_id: The unique identifier of payload
        Returns: PayloadItemRequestBuilder
        """
        if payload_id is None:
            raise TypeError("payload_id cannot be null.")
        from .item.payload_item_request_builder import PayloadItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["payload%2Did"] = payload_id
        return PayloadItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity.
        param payload_id: The unique identifier of payload
        Returns: PayloadItemRequestBuilder
        
msgraph/generated/security/attack_simulation/payloads/payloads_request_builder.py