def by_custom_extension_stage_setting_id(self,custom_extension_stage_setting_id: str) -> CustomExtensionStageSettingItemRequestBuilder:
        """
        Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity.
        param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting
        Returns: CustomExtensionStageSettingItemRequestBuilder
        """
        if custom_extension_stage_setting_id is None:
            raise TypeError("custom_extension_stage_setting_id cannot be null.")
        from .item.custom_extension_stage_setting_item_request_builder import CustomExtensionStageSettingItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["customExtensionStageSetting%2Did"] = custom_extension_stage_setting_id
        return CustomExtensionStageSettingItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity.
        param custom_extension_stage_setting_id: The unique identifier of customExtensionStageSetting
        Returns: CustomExtensionStageSettingItemRequestBuilder
        
msgraph/generated/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py