code: def __init__(self, resource_type, resource_name, pattern_type):
      self.resource_type = resource_type
      self.resource_name = resource_name
      self.pattern_type = pattern_type
  
      self.validate()
  
imports: from __future__ import absolute_import
  from kafka.errors import IllegalArgumentError
label_desc: Use image node_id 1 to create a new ResourcePatternFilter object from inherited base classes: object with example: obj = ResourcePatternFilter(resource_type, resource_name, pattern_type)