Class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
-
public class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.
-
-
Constructor Summary
Constructors Constructor Description ServiceBusDeadletterMessagesAvailableWithNoListenersEventData()
-
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.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithEntityType(String entityType)Set the entity type of the Microsoft.ServiceBus resource.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithNamespaceName(String namespaceName)Set the namespace name of the Microsoft.ServiceBus resource.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithQueueName(String queueName)Set the name of the Microsoft.ServiceBus queue.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithRequestUri(String requestUri)Set the endpoint of the Microsoft.ServiceBus resource.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithSubscriptionName(String subscriptionName)Set the name of the Microsoft.ServiceBus topic's subscription.ServiceBusDeadletterMessagesAvailableWithNoListenersEventDatawithTopicName(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 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
-
withRequestUri
public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData withRequestUri(String requestUri)
Set the endpoint of the Microsoft.ServiceBus resource.- Parameters:
requestUri- the requestUri value to set- Returns:
- the ServiceBusDeadletterMessagesAvailableWithNoListenersEventData 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 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.
-
-