Sets the access controls associated to this entity.
        :param access_controls: the access controls (immutable) or `None`

def access_controls(self, access_controls: Optional[Iterable[AccessControl]]):
        """
        Sets the access controls associated to this entity.
        :param access_controls: the access controls (immutable) or `None`
        """
        if access_controls is not None:
            access_controls = set(access_controls)
        self._access_controls = access_controls