Class StorageQueueEventSubscriptionDestination

java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventSubscriptionDestination
com.azure.resourcemanager.eventgrid.models.StorageQueueEventSubscriptionDestination

public final class StorageQueueEventSubscriptionDestination extends EventSubscriptionDestination
Information about the storage queue destination for an event subscription.
  • Constructor Details

    • StorageQueueEventSubscriptionDestination

      public StorageQueueEventSubscriptionDestination()
  • Method Details

    • 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 StorageQueueEventSubscriptionDestination 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 StorageQueueEventSubscriptionDestination 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 StorageQueueEventSubscriptionDestination 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 StorageQueueEventSubscriptionDestination object itself.
    • queueMessageTimeToLiveInSeconds

      public Long queueMessageTimeToLiveInSeconds()
      Get the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.
      Returns:
      the queueMessageTimeToLiveInSeconds value.
    • withQueueMessageTimeToLiveInSeconds

      public StorageQueueEventSubscriptionDestination withQueueMessageTimeToLiveInSeconds(Long queueMessageTimeToLiveInSeconds)
      Set the queueMessageTimeToLiveInSeconds property: Storage queue message time to live in seconds.
      Parameters:
      queueMessageTimeToLiveInSeconds - the queueMessageTimeToLiveInSeconds value to set.
      Returns:
      the StorageQueueEventSubscriptionDestination object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class EventSubscriptionDestination
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.