Class StorageAsyncOperationInitiatedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.StorageAsyncOperationInitiatedEventData
-
public final class StorageAsyncOperationInitiatedEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.Storage.AsyncOperationInitiated event.
-
-
Constructor Summary
Constructors Constructor Description StorageAsyncOperationInitiatedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApi()
Get the api property: The name of the API/operation that triggered this event.String
getBlobType()
Get the blobType property: The type of blob.String
getClientRequestId()
Get the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.Long
getContentLength()
Get the contentLength property: The size of the blob in bytes.String
getContentType()
Get the contentType property: The content type of the blob.String
getIdentity()
Get the identity property: The identity of the requester that triggered this event.String
getRequestId()
Get the requestId property: The request id generated by the Storage service for the storage API operation that triggered this event.String
getSequencer()
Get the sequencer property: An opaque string value representing the logical sequence of events for any particular blob name.Object
getStorageDiagnostics()
Get the storageDiagnostics property: For service use only.String
getUrl()
Get the url property: The path to the blob.StorageAsyncOperationInitiatedEventData
setApi(String api)
Set the api property: The name of the API/operation that triggered this event.StorageAsyncOperationInitiatedEventData
setBlobType(String blobType)
Set the blobType property: The type of blob.StorageAsyncOperationInitiatedEventData
setClientRequestId(String clientRequestId)
Set the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.StorageAsyncOperationInitiatedEventData
setContentLength(Long contentLength)
Set the contentLength property: The size of the blob in bytes.StorageAsyncOperationInitiatedEventData
setContentType(String contentType)
Set the contentType property: The content type of the blob.StorageAsyncOperationInitiatedEventData
setIdentity(String identity)
Set the identity property: The identity of the requester that triggered this event.StorageAsyncOperationInitiatedEventData
setRequestId(String requestId)
Set the requestId property: The request id generated by the Storage service for the storage API operation that triggered this event.StorageAsyncOperationInitiatedEventData
setSequencer(String sequencer)
Set the sequencer property: An opaque string value representing the logical sequence of events for any particular blob name.StorageAsyncOperationInitiatedEventData
setStorageDiagnostics(Object storageDiagnostics)
Set the storageDiagnostics property: For service use only.StorageAsyncOperationInitiatedEventData
setUrl(String url)
Set the url property: The path to the blob.
-
-
-
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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData object itself.
-
getBlobType
public String getBlobType()
Get the blobType property: The type of blob.- Returns:
- the blobType value.
-
setBlobType
public StorageAsyncOperationInitiatedEventData setBlobType(String blobType)
Set the blobType property: The type of blob.- Parameters:
blobType
- the blobType value to set.- Returns:
- the StorageAsyncOperationInitiatedEventData object itself.
-
getUrl
public String getUrl()
Get the url property: The path to the blob.- Returns:
- the url value.
-
setUrl
public StorageAsyncOperationInitiatedEventData setUrl(String url)
Set the url property: The path to the blob.- Parameters:
url
- the url value to set.- Returns:
- the StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData 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 StorageAsyncOperationInitiatedEventData object itself.
-
-