Class ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData>

public final class ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData extends Object implements com.azure.json.JsonSerializable<ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications event.
  • Method Details

    • getNamespaceName

      public String getNamespaceName()
      Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.
      Returns:
      the namespaceName value.
    • getRequestUri

      public String getRequestUri()
      Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.
      Returns:
      the requestUri value.
    • getEntityType

      public String getEntityType()
      Get the entityType property: The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.
      Returns:
      the entityType value.
    • 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:
      the queueName value.
    • 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:
      the topicName value.
    • 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:
      the subscriptionName value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData>
      Throws:
      IOException
    • fromJson

      public static ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.