Class StorageQueueEventSubscriptionDestinationProperties


  • public final class StorageQueueEventSubscriptionDestinationProperties
    extends Object
    The properties for a storage queue destination.
    • Constructor Detail

      • StorageQueueEventSubscriptionDestinationProperties

        public StorageQueueEventSubscriptionDestinationProperties()
    • 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.