def by_role_assignment_id(self,role_assignment_id: str) -> RoleAssignmentItemRequestBuilder:
        """
        Provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity.
        param role_assignment_id: The unique identifier of roleAssignment
        Returns: RoleAssignmentItemRequestBuilder
        """
        if role_assignment_id is None:
            raise TypeError("role_assignment_id cannot be null.")
        from .item.role_assignment_item_request_builder import RoleAssignmentItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["roleAssignment%2Did"] = role_assignment_id
        return RoleAssignmentItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity.
        param role_assignment_id: The unique identifier of roleAssignment
        Returns: RoleAssignmentItemRequestBuilder
        
msgraph/generated/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.py