Class ServiceBusActiveMessagesAvailableWithNoListenersEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.ServiceBusActiveMessagesAvailableWithNoListenersEventData
-
public class ServiceBusActiveMessagesAvailableWithNoListenersEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.
-
-
Constructor Summary
Constructors Constructor Description ServiceBusActiveMessagesAvailableWithNoListenersEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringentityType()Get the entity type of the Microsoft.ServiceBus resource.StringnamespaceName()Get the namespace name of the Microsoft.ServiceBus resource.StringqueueName()Get the name of the Microsoft.ServiceBus queue.StringrequestUri()Get the endpoint of the Microsoft.ServiceBus resource.StringsubscriptionName()Get the name of the Microsoft.ServiceBus topic's subscription.StringtopicName()Get the name of the Microsoft.ServiceBus topic.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithEntityType(String entityType)Set the entity type of the Microsoft.ServiceBus resource.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithNamespaceName(String namespaceName)Set the namespace name of the Microsoft.ServiceBus resource.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithQueueName(String queueName)Set the name of the Microsoft.ServiceBus queue.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithRequestUri(String requestUri)Set the endpoint of the Microsoft.ServiceBus resource.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithSubscriptionName(String subscriptionName)Set the name of the Microsoft.ServiceBus topic's subscription.ServiceBusActiveMessagesAvailableWithNoListenersEventDatawithTopicName(String topicName)Set the name of the Microsoft.ServiceBus topic.
-
-
-
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.
-
-