Class StorageQueueEventSubscriptionDestinationProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.StorageQueueEventSubscriptionDestinationProperties
The properties for a storage queue destination.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.Get the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.Get the resourceId property: The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.void
validate()
Validates the instance.withQueueMessageTimeToLiveInSeconds
(Long queueMessageTimeToLiveInSeconds) Set the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.withQueueName
(String queueName) Set the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.withResourceId
(String resourceId) Set the resourceId property: The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.
-
Constructor Details
-
StorageQueueEventSubscriptionDestinationProperties
public StorageQueueEventSubscriptionDestinationProperties()
-
-
Method Details
-
resourceId
Get the resourceId property: The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the StorageQueueEventSubscriptionDestinationProperties object itself.
-
queueName
Get the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.- Returns:
- the queueName value.
-
withQueueName
Set the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.- Parameters:
queueName
- the queueName value to set.- Returns:
- the StorageQueueEventSubscriptionDestinationProperties object itself.
-
queueMessageTimeToLiveInSeconds
Get the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.- Returns:
- the queueMessageTimeToLiveInSeconds value.
-
withQueueMessageTimeToLiveInSeconds
public StorageQueueEventSubscriptionDestinationProperties withQueueMessageTimeToLiveInSeconds(Long queueMessageTimeToLiveInSeconds) Set the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.- Parameters:
queueMessageTimeToLiveInSeconds
- the queueMessageTimeToLiveInSeconds value to set.- Returns:
- the StorageQueueEventSubscriptionDestinationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-