ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData

Implements

public final class ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData
implements JsonSerializable<ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications event.

Constructor Summary

Constructor Description
ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData()

Creates an instance of ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData class.

Method Summary

Modifier and Type Method and Description
static ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData fromJson(JsonReader jsonReader)

Reads an instance of ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData from the JsonReader.

String getEntityType()

Get the entityType property: The entity type of the Microsoft.ServiceBus resource.

String getNamespaceName()

Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.

String getQueueName()

Get the queueName property: The name of the Microsoft.ServiceBus queue.

String getRequestUri()

Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.

String getSubscriptionName()

Get the subscriptionName property: The name of the Microsoft.ServiceBus topic's subscription.

String getTopicName()

Get the topicName property: The name of the Microsoft.ServiceBus topic.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setEntityType(String entityType)

Set the entityType property: The entity type of the Microsoft.ServiceBus resource.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setNamespaceName(String namespaceName)

Set the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setQueueName(String queueName)

Set the queueName property: The name of the Microsoft.ServiceBus queue.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setRequestUri(String requestUri)

Set the requestUri property: The endpoint of the Microsoft.ServiceBus resource.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setSubscriptionName(String subscriptionName)

Set the subscriptionName property: The name of the Microsoft.ServiceBus topic's subscription.

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setTopicName(String topicName)

Set the topicName property: The name of the Microsoft.ServiceBus topic.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData()

Creates an instance of ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData class.

Method Details

fromJson

public static ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData fromJson(JsonReader jsonReader)

Reads an instance of ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData.

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.

getNamespaceName

public String getNamespaceName()

Get the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.

Returns:

the namespaceName 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.

getRequestUri

public String getRequestUri()

Get the requestUri property: The endpoint of the Microsoft.ServiceBus resource.

Returns:

the requestUri 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.

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.

setEntityType

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setEntityType(String entityType)

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 ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

setNamespaceName

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setNamespaceName(String namespaceName)

Set the namespaceName property: The namespace name of the Microsoft.ServiceBus resource.

Parameters:

namespaceName - the namespaceName value to set.

Returns:

the ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

setQueueName

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData 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:

queueName - the queueName value to set.

Returns:

the ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

setRequestUri

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData setRequestUri(String requestUri)

Set the requestUri property: The endpoint of the Microsoft.ServiceBus resource.

Parameters:

requestUri - the requestUri value to set.

Returns:

the ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

setSubscriptionName

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData 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 ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

setTopicName

public ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData 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:

topicName - the topicName value to set.

Returns:

the ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest