def by_authentication_method_id(self,authentication_method_id: str) -> AuthenticationMethodItemRequestBuilder:
        """
        Provides operations to manage the methods property of the microsoft.graph.authentication entity.
        param authentication_method_id: The unique identifier of authenticationMethod
        Returns: AuthenticationMethodItemRequestBuilder
        """
        if authentication_method_id is None:
            raise TypeError("authentication_method_id cannot be null.")
        from .item.authentication_method_item_request_builder import AuthenticationMethodItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["authenticationMethod%2Did"] = authentication_method_id
        return AuthenticationMethodItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the methods property of the microsoft.graph.authentication entity.
        param authentication_method_id: The unique identifier of authenticationMethod
        Returns: AuthenticationMethodItemRequestBuilder
        
msgraph/generated/users/item/authentication/methods/methods_request_builder.py