StorageBlobCreatedEventData Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. StorageBlobCreatedEventData
- com.
public class StorageBlobCreatedEventData
Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobCreated event.
Constructor | Description | |
---|---|---|
Storage |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
api()
Get the name of the API/operation that triggered this event. |
java.lang.String |
blob Get the type of blob. |
java.lang.String |
client Get a request id provided by the client of the storage API operation that triggered this event. |
java.lang.Long |
content Get the size of the blob in bytes. |
java.lang.String |
content Get the content type of the blob. |
java.lang.String |
e Get the etag of the object at the time this event was triggered. |
java.lang.String |
request Get the request id generated by the Storage service for the storage API operation that triggered this event. |
java.lang.String |
sequencer()
Get an opaque string value representing the logical sequence of events for any particular blob name. |
java.lang.Object |
storage Get for service use only. |
java.lang.String |
url()
Get the path to the blob. |
Storage |
with Set the name of the API/operation that triggered this event. |
Storage |
with Set the type of blob. |
Storage |
with Set a request id provided by the client of the storage API operation that triggered this event. |
Storage |
with Set the size of the blob in bytes. |
Storage |
with Set the content type of the blob. |
Storage |
with Set the etag of the object at the time this event was triggered. |
Storage |
with Set the request id generated by the Storage service for the storage API operation that triggered this event. |
Storage |
with Set an opaque string value representing the logical sequence of events for any particular blob name. |
Storage |
with Set for service use only. |
Storage |
with Set the path to the blob. |
StorageBlobCreatedEventData
public StorageBlobCreatedEventData()
api
public String api()
Get the name of the API/operation that triggered this event.
Returns:
blobType
public String blobType()
Get the type of blob.
Returns:
clientRequestId
public String clientRequestId()
Get a request id provided by the client of the storage API operation that triggered this event.
Returns:
contentLength
public Long contentLength()
Get 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:
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:
eTag
public String eTag()
Get the etag of the object at the time this event was triggered.
Returns:
requestId
public String requestId()
Get the request id generated by the Storage service for the storage API operation that triggered this event.
Returns:
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:
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:
url
public String url()
Get the path to the blob.
Returns:
withApi
public StorageBlobCreatedEventData withApi(String api)
Set the name of the API/operation that triggered this event.
Parameters:
Returns:
withBlobType
public StorageBlobCreatedEventData withBlobType(String blobType)
Set the type of blob.
Parameters:
Returns:
withClientRequestId
public StorageBlobCreatedEventData withClientRequestId(String clientRequestId)
Set a request id provided by the client of the storage API operation that triggered this event.
Parameters:
Returns:
withContentLength
public StorageBlobCreatedEventData withContentLength(Long contentLength)
Set 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:
Returns:
withContentType
public StorageBlobCreatedEventData 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:
Returns:
withETag
public StorageBlobCreatedEventData withETag(String eTag)
Set the etag of the object at the time this event was triggered.
Parameters:
Returns:
withRequestId
public StorageBlobCreatedEventData withRequestId(String requestId)
Set the request id generated by the Storage service for the storage API operation that triggered this event.
Parameters:
Returns:
withSequencer
public StorageBlobCreatedEventData 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:
Returns:
withStorageDiagnostics
public StorageBlobCreatedEventData 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:
Returns:
withUrl
public StorageBlobCreatedEventData withUrl(String url)
Set the path to the blob.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: