[docs]classAzureEventHub(KafkaTopic):"""Description"""@classmethod@init_guiddefcreator(cls,*,name:str,connection_qualified_name:str)->AzureEventHub:validate_required_fields(["name","connection_qualified_name"],[name,connection_qualified_name])attributes=AzureEventHub.Attributes.creator(name=name,connection_qualified_name=connection_qualified_name)returncls(attributes=attributes)type_name:str=Field(default="AzureEventHub",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="AzureEventHub":raiseValueError("must be AzureEventHub")returnvdef__setattr__(self,name,value):ifnameinAzureEventHub._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)AZURE_EVENT_HUB_STATUS:ClassVar[KeywordField]=KeywordField("azureEventHubStatus","azureEventHubStatus")""" """_convenience_properties:ClassVar[List[str]]=["azure_event_hub_status",]@propertydefazure_event_hub_status(self)->Optional[str]:return(Noneifself.attributesisNoneelseself.attributes.azure_event_hub_status)@azure_event_hub_status.setterdefazure_event_hub_status(self,azure_event_hub_status:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.azure_event_hub_status=azure_event_hub_statusclassAttributes(KafkaTopic.Attributes):azure_event_hub_status:Optional[str]=Field(default=None,description="")@classmethod@init_guiddefcreator(cls,*,name:str,connection_qualified_name:str)->AzureEventHub.Attributes:validate_required_fields(["name","connection_qualified_name"],[name,connection_qualified_name])returnAzureEventHub.Attributes(name=name,qualified_name=f"{connection_qualified_name}/topic/{name}",connection_qualified_name=connection_qualified_name,connector_name=AtlanConnectorType.get_connector_name(connection_qualified_name),)attributes:AzureEventHub.Attributes=Field(default_factory=lambda:AzureEventHub.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)