ServiceBusActiveMessagesAvailableWithNoListenersEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. ServiceBusActiveMessagesAvailableWithNoListenersEventData
- com.
Implements
public final class ServiceBusActiveMessagesAvailableWithNoListenersEventData
implements JsonSerializable<ServiceBusActiveMessagesAvailableWithNoListenersEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.
Constructor Summary
Constructor | Description |
---|---|
ServiceBusActiveMessagesAvailableWithNoListenersEventData() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
String |
getEntityType()
Get the entity |
String |
getNamespaceName()
Get the namespace |
String |
getQueueName()
Get the queue |
String |
getRequestUri()
Get the request |
String |
getSubscriptionName()
Get the subscription |
String |
getTopicName()
Get the topic |
Service |
setEntityType(String entityType)
Set the entity |
Service |
setNamespaceName(String namespaceName)
Set the namespace |
Service |
setQueueName(String queueName)
Set the queue |
Service |
setRequestUri(String requestUri)
Set the request |
Service |
setSubscriptionName(String subscriptionName)
Set the subscription |
Service |
setTopicName(String topicName)
Set the topic |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ServiceBusActiveMessagesAvailableWithNoListenersEventData
public ServiceBusActiveMessagesAvailableWithNoListenersEventData()
Creates an instance of ServiceBusActiveMessagesAvailableWithNoListenersEventData class.
Method Details
fromJson
public static ServiceBusActiveMessagesAvailableWithNoListenersEventData fromJson(JsonReader jsonReader)
Reads an instance of ServiceBusActiveMessagesAvailableWithNoListenersEventData from the JsonReader.
Parameters:
Returns:
Throws:
getEntityType
public String getEntityType()
Get the entityType property: The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
Returns:
getNamespaceName
public String getNamespaceName()
Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.
Returns:
getQueueName
public String 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:
getRequestUri
public String getRequestUri()
Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.
Returns:
getSubscriptionName
public String 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:
getTopicName
public String 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:
setEntityType
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setEntityType(String entityType)
Set the entityType property: The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
Parameters:
Returns:
setNamespaceName
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setNamespaceName(String namespaceName)
Set the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.
Parameters:
Returns:
setQueueName
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setQueueName(String queueName)
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:
Returns:
setRequestUri
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setRequestUri(String requestUri)
Set the requestUri property: The endpoint of the Microsoft.ServiceBus resource.
Parameters:
Returns:
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:
Returns:
setTopicName
public ServiceBusActiveMessagesAvailableWithNoListenersEventData setTopicName(String topicName)
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:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for