Class ServiceBusActiveMessagesAvailableWithNoListenersEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ServiceBusActiveMessagesAvailableWithNoListenersEventData
Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners
event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the entityType property: The entity type of the Microsoft.ServiceBus resource.Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.Get the queueName property: The name of the Microsoft.ServiceBus queue.Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.Get the subscriptionName property: The name of the Microsoft.ServiceBus topic's subscription.Get the topicName property: The name of the Microsoft.ServiceBus topic.setEntityType
(String entityType) Set the entityType property: The entity type of the Microsoft.ServiceBus resource.setNamespaceName
(String namespaceName) Set the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.setQueueName
(String queueName) Set the queueName property: The name of the Microsoft.ServiceBus queue.setRequestUri
(String requestUri) Set the requestUri property: The endpoint of the Microsoft.ServiceBus resource.setSubscriptionName
(String subscriptionName) Set the subscriptionName property: The name of the Microsoft.ServiceBus topic's subscription.setTopicName
(String topicName) Set the topicName property: The name of the Microsoft.ServiceBus topic.
-
Constructor Details
-
ServiceBusActiveMessagesAvailableWithNoListenersEventData
public ServiceBusActiveMessagesAvailableWithNoListenersEventData()
-
-
Method Details
-
getNamespaceName
Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.- Returns:
- the namespaceName value.
-
setNamespaceName
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setNamespaceName(String namespaceName) Set the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.- Parameters:
namespaceName
- the namespaceName value to set.- Returns:
- the ServiceBusActiveMessagesAvailableWithNoListenersEventData object itself.
-
getRequestUri
Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.- Returns:
- the requestUri value.
-
setRequestUri
Set the requestUri property: The endpoint of the Microsoft.ServiceBus resource.- Parameters:
requestUri
- the requestUri value to set.- Returns:
- the ServiceBusActiveMessagesAvailableWithNoListenersEventData object itself.
-
getEntityType
Get the entityType property: The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.- Returns:
- the entityType value.
-
setEntityType
Set the entityType property: 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.
-
getQueueName
Get the queueName property: 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.
-
setQueueName
Set the queueName property: 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.
-
getTopicName
Get the topicName property: 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.
-
setTopicName
Set the topicName property: 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.
-
getSubscriptionName
Get the subscriptionName property: 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.
-
setSubscriptionName
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setSubscriptionName(String subscriptionName) Set the subscriptionName property: 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.
-