Class StorageBlobCreatedEventData


  • public final class StorageBlobCreatedEventData
    extends Object
    Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobCreated event.
    • Constructor Detail

      • StorageBlobCreatedEventData

        public StorageBlobCreatedEventData()
    • Method Detail

      • getApi

        public String getApi()
        Get the api property: The name of the API/operation that triggered this event.
        Returns:
        the api value.
      • setApi

        public StorageBlobCreatedEventData setApi​(String api)
        Set the api property: The name of the API/operation that triggered this event.
        Parameters:
        api - the api value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getClientRequestId

        public String getClientRequestId()
        Get the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.
        Returns:
        the clientRequestId value.
      • setClientRequestId

        public StorageBlobCreatedEventData setClientRequestId​(String clientRequestId)
        Set the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.
        Parameters:
        clientRequestId - the clientRequestId value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getRequestId

        public String getRequestId()
        Get the requestId property: The request id generated by the Storage service for the storage API operation that triggered this event.
        Returns:
        the requestId value.
      • setRequestId

        public StorageBlobCreatedEventData setRequestId​(String requestId)
        Set the requestId property: The request id generated by the Storage service for the storage API operation that triggered this event.
        Parameters:
        requestId - the requestId value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getETag

        public String getETag()
        Get the eTag property: The etag of the blob at the time this event was triggered.
        Returns:
        the eTag value.
      • setETag

        public StorageBlobCreatedEventData setETag​(String eTag)
        Set the eTag property: The etag of the blob at the time this event was triggered.
        Parameters:
        eTag - the eTag value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getContentType

        public String getContentType()
        Get the contentType property: The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
        Returns:
        the contentType value.
      • setContentType

        public StorageBlobCreatedEventData setContentType​(String contentType)
        Set the contentType property: The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
        Parameters:
        contentType - the contentType value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getContentLength

        public Long getContentLength()
        Get the contentLength property: The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
        Returns:
        the contentLength value.
      • setContentLength

        public StorageBlobCreatedEventData setContentLength​(Long contentLength)
        Set the contentLength property: The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
        Parameters:
        contentLength - the contentLength value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getContentOffset

        public Long getContentOffset()
        Get the contentOffset property: The offset of the blob in bytes.
        Returns:
        the contentOffset value.
      • setContentOffset

        public StorageBlobCreatedEventData setContentOffset​(Long contentOffset)
        Set the contentOffset property: The offset of the blob in bytes.
        Parameters:
        contentOffset - the contentOffset value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getBlobType

        public String getBlobType()
        Get the blobType property: The type of blob.
        Returns:
        the blobType value.
      • setBlobType

        public StorageBlobCreatedEventData setBlobType​(String blobType)
        Set the blobType property: The type of blob.
        Parameters:
        blobType - the blobType value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getUrl

        public String getUrl()
        Get the url property: The path to the blob.
        Returns:
        the url value.
      • setUrl

        public StorageBlobCreatedEventData setUrl​(String url)
        Set the url property: The path to the blob.
        Parameters:
        url - the url value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getSequencer

        public String getSequencer()
        Get the sequencer property: An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
        Returns:
        the sequencer value.
      • setSequencer

        public StorageBlobCreatedEventData setSequencer​(String sequencer)
        Set the sequencer property: An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
        Parameters:
        sequencer - the sequencer value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getIdentity

        public String getIdentity()
        Get the identity property: The identity of the requester that triggered this event.
        Returns:
        the identity value.
      • setIdentity

        public StorageBlobCreatedEventData setIdentity​(String identity)
        Set the identity property: The identity of the requester that triggered this event.
        Parameters:
        identity - the identity value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.
      • getStorageDiagnostics

        public Object getStorageDiagnostics()
        Get the storageDiagnostics property: For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
        Returns:
        the storageDiagnostics value.
      • setStorageDiagnostics

        public StorageBlobCreatedEventData setStorageDiagnostics​(Object storageDiagnostics)
        Set the storageDiagnostics property: For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
        Parameters:
        storageDiagnostics - the storageDiagnostics value to set.
        Returns:
        the StorageBlobCreatedEventData object itself.