Class StorageQueueEventSubscriptionDestinationProperties
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.StorageQueueEventSubscriptionDestinationProperties
-
public final class StorageQueueEventSubscriptionDestinationProperties extends Object
The properties for a storage queue destination.
-
-
Constructor Summary
Constructors Constructor Description StorageQueueEventSubscriptionDestinationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongqueueMessageTimeToLiveInSeconds()Get the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.StringqueueName()Get the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.StringresourceId()Get the resourceId property: The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.voidvalidate()Validates the instance.StorageQueueEventSubscriptionDestinationPropertieswithQueueMessageTimeToLiveInSeconds(Long queueMessageTimeToLiveInSeconds)Set the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.StorageQueueEventSubscriptionDestinationPropertieswithQueueName(String queueName)Set the queueName property: The name of the Storage queue under a storage account that is the destination of an event subscription.StorageQueueEventSubscriptionDestinationPropertieswithResourceId(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.
-
-
-
Method Detail
-
resourceId
public String 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
public StorageQueueEventSubscriptionDestinationProperties 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.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the StorageQueueEventSubscriptionDestinationProperties object itself.
-
queueName
public String 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
public StorageQueueEventSubscriptionDestinationProperties 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.- Parameters:
queueName- the queueName value to set.- Returns:
- the StorageQueueEventSubscriptionDestinationProperties object itself.
-
queueMessageTimeToLiveInSeconds
public Long 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.
-
-