Casts this RouterInputFilter as a NameContains and retrieves its kotlin.collections.List value. Throws an exception if the RouterInputFilter is not a NameContains.