Class BlobEventsTriggerTypeProperties


  • public final class BlobEventsTriggerTypeProperties
    extends Object
    Blob Events Trigger properties.
    • Constructor Detail

      • BlobEventsTriggerTypeProperties

        public BlobEventsTriggerTypeProperties()
    • Method Detail

      • blobPathBeginsWith

        public String blobPathBeginsWith()
        Get the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
        Returns:
        the blobPathBeginsWith value.
      • withBlobPathBeginsWith

        public BlobEventsTriggerTypeProperties withBlobPathBeginsWith​(String blobPathBeginsWith)
        Set the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
        Parameters:
        blobPathBeginsWith - the blobPathBeginsWith value to set.
        Returns:
        the BlobEventsTriggerTypeProperties object itself.
      • blobPathEndsWith

        public String blobPathEndsWith()
        Get the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
        Returns:
        the blobPathEndsWith value.
      • withBlobPathEndsWith

        public BlobEventsTriggerTypeProperties withBlobPathEndsWith​(String blobPathEndsWith)
        Set the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.
        Parameters:
        blobPathEndsWith - the blobPathEndsWith value to set.
        Returns:
        the BlobEventsTriggerTypeProperties object itself.
      • ignoreEmptyBlobs

        public Boolean ignoreEmptyBlobs()
        Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.
        Returns:
        the ignoreEmptyBlobs value.
      • withIgnoreEmptyBlobs

        public BlobEventsTriggerTypeProperties withIgnoreEmptyBlobs​(Boolean ignoreEmptyBlobs)
        Set the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.
        Parameters:
        ignoreEmptyBlobs - the ignoreEmptyBlobs value to set.
        Returns:
        the BlobEventsTriggerTypeProperties object itself.
      • events

        public List<BlobEventTypes> events()
        Get the events property: The type of events that cause this trigger to fire.
        Returns:
        the events value.
      • withEvents

        public BlobEventsTriggerTypeProperties withEvents​(List<BlobEventTypes> events)
        Set the events property: The type of events that cause this trigger to fire.
        Parameters:
        events - the events value to set.
        Returns:
        the BlobEventsTriggerTypeProperties object itself.
      • scope

        public String scope()
        Get the scope property: The ARM resource ID of the Storage Account.
        Returns:
        the scope value.
      • withScope

        public BlobEventsTriggerTypeProperties withScope​(String scope)
        Set the scope property: The ARM resource ID of the Storage Account.
        Parameters:
        scope - the scope value to set.
        Returns:
        the BlobEventsTriggerTypeProperties object itself.
      • validate

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