Class StorageBlobDeletedEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.StorageBlobDeletedEventData
-
public class StorageBlobDeletedEventData extends Object
Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobDeleted event.
-
-
Constructor Summary
Constructors Constructor Description StorageBlobDeletedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapi()Get the name of the API/operation that triggered this event.StringblobType()Get the type of blob.StringclientRequestId()Get a request id provided by the client of the storage API operation that triggered this event.StringcontentType()Get the content type of the blob.StringrequestId()Get the request id generated by the Storage service for the storage API operation that triggered this event.Stringsequencer()Get an opaque string value representing the logical sequence of events for any particular blob name.ObjectstorageDiagnostics()Get for service use only.Stringurl()Get the path to the blob.StorageBlobDeletedEventDatawithApi(String api)Set the name of the API/operation that triggered this event.StorageBlobDeletedEventDatawithBlobType(String blobType)Set the type of blob.StorageBlobDeletedEventDatawithClientRequestId(String clientRequestId)Set a request id provided by the client of the storage API operation that triggered this event.StorageBlobDeletedEventDatawithContentType(String contentType)Set the content type of the blob.StorageBlobDeletedEventDatawithRequestId(String requestId)Set the request id generated by the Storage service for the storage API operation that triggered this event.StorageBlobDeletedEventDatawithSequencer(String sequencer)Set an opaque string value representing the logical sequence of events for any particular blob name.StorageBlobDeletedEventDatawithStorageDiagnostics(Object storageDiagnostics)Set for service use only.StorageBlobDeletedEventDatawithUrl(String url)Set the path to the blob.
-
-
-
Method Detail
-
api
public String api()
Get the name of the API/operation that triggered this event.- Returns:
- the api value
-
withApi
public StorageBlobDeletedEventData withApi(String api)
Set the name of the API/operation that triggered this event.- Parameters:
api- the api value to set- Returns:
- the StorageBlobDeletedEventData object itself.
-
clientRequestId
public String clientRequestId()
Get a request id provided by the client of the storage API operation that triggered this event.- Returns:
- the clientRequestId value
-
withClientRequestId
public StorageBlobDeletedEventData withClientRequestId(String clientRequestId)
Set 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 StorageBlobDeletedEventData object itself.
-
requestId
public String requestId()
Get the request id generated by the Storage service for the storage API operation that triggered this event.- Returns:
- the requestId value
-
withRequestId
public StorageBlobDeletedEventData withRequestId(String requestId)
Set 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 StorageBlobDeletedEventData object itself.
-
contentType
public String contentType()
Get 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
-
withContentType
public StorageBlobDeletedEventData withContentType(String contentType)
Set 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 StorageBlobDeletedEventData object itself.
-
blobType
public String blobType()
Get the type of blob.- Returns:
- the blobType value
-
withBlobType
public StorageBlobDeletedEventData withBlobType(String blobType)
Set the type of blob.- Parameters:
blobType- the blobType value to set- Returns:
- the StorageBlobDeletedEventData object itself.
-
url
public String url()
Get the path to the blob.- Returns:
- the url value
-
withUrl
public StorageBlobDeletedEventData withUrl(String url)
Set the path to the blob.- Parameters:
url- the url value to set- Returns:
- the StorageBlobDeletedEventData object itself.
-
sequencer
public String sequencer()
Get 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
-
withSequencer
public StorageBlobDeletedEventData withSequencer(String sequencer)
Set 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 StorageBlobDeletedEventData object itself.
-
storageDiagnostics
public Object storageDiagnostics()
Get 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
-
withStorageDiagnostics
public StorageBlobDeletedEventData withStorageDiagnostics(Object storageDiagnostics)
Set 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 StorageBlobDeletedEventData object itself.
-
-