Class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData


  • public class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
    extends Object
    Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.
    • Constructor Detail

      • ServiceBusDeadletterMessagesAvailableWithNoListenersEventData

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData()
    • Method Detail

      • namespaceName

        public String namespaceName()
        Get the namespace name of the Microsoft.ServiceBus resource.
        Returns:
        the namespaceName value
      • withNamespaceName

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withNamespaceName​(String namespaceName)
        Set the namespace name of the Microsoft.ServiceBus resource.
        Parameters:
        namespaceName - the namespaceName value to set
        Returns:
        the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData object itself.
      • requestUri

        public String requestUri()
        Get the endpoint of the Microsoft.ServiceBus resource.
        Returns:
        the requestUri value
      • entityType

        public String entityType()
        Get the entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
        Returns:
        the entityType value
      • withEntityType

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withEntityType​(String entityType)
        Set the entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
        Parameters:
        entityType - the entityType value to set
        Returns:
        the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData object itself.
      • queueName

        public String queueName()
        Get the name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
        Returns:
        the queueName value
      • withQueueName

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withQueueName​(String queueName)
        Set the name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.
        Parameters:
        queueName - the queueName value to set
        Returns:
        the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData object itself.
      • topicName

        public String topicName()
        Get the name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
        Returns:
        the topicName value
      • withTopicName

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withTopicName​(String topicName)
        Set the name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.
        Parameters:
        topicName - the topicName value to set
        Returns:
        the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData object itself.
      • subscriptionName

        public String subscriptionName()
        Get the name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.
        Returns:
        the subscriptionName value
      • withSubscriptionName

        public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withSubscriptionName​(String subscriptionName)
        Set the name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.
        Parameters:
        subscriptionName - the subscriptionName value to set
        Returns:
        the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData object itself.