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