def set_user_preferred_presence(self) -> SetUserPreferredPresenceRequestBuilder:
        """
        Provides operations to call the setUserPreferredPresence method.
        """
        from .set_user_preferred_presence.set_user_preferred_presence_request_builder import SetUserPreferredPresenceRequestBuilder

        return SetUserPreferredPresenceRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to call the setUserPreferredPresence method.
        
msgraph/generated/communications/presences/item/presence_item_request_builder.py