Class ServiceBusActiveMessagesAvailableWithNoListenersEventData


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

      • ServiceBusActiveMessagesAvailableWithNoListenersEventData

        public ServiceBusActiveMessagesAvailableWithNoListenersEventData()
    • Method Detail

      • namespaceName

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

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

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

        public ServiceBusActiveMessagesAvailableWithNoListenersEventData withRequestUri​(String requestUri)
        Set the endpoint of the Microsoft.ServiceBus resource.
        Parameters:
        requestUri - the requestUri value to set
        Returns:
        the ServiceBusActiveMessagesAvailableWithNoListenersEventData object itself.
      • 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData 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 ServiceBusActiveMessagesAvailableWithNoListenersEventData object itself.