Class StorageBlobRenamedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.StorageBlobRenamedEventData
-
public final class StorageBlobRenamedEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobRenamed event.
-
-
Constructor Summary
Constructors Constructor Description StorageBlobRenamedEventData()
-
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
getClientRequestId()
Get the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.String
getDestinationUrl()
Get the destinationUrl property: The new path to the blob after the rename operation.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.String
getSourceUrl()
Get the sourceUrl property: The path to the blob that was renamed.Object
getStorageDiagnostics()
Get the storageDiagnostics property: For service use only.StorageBlobRenamedEventData
setApi(String api)
Set the api property: The name of the API/operation that triggered this event.StorageBlobRenamedEventData
setClientRequestId(String clientRequestId)
Set the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.StorageBlobRenamedEventData
setDestinationUrl(String destinationUrl)
Set the destinationUrl property: The new path to the blob after the rename operation.StorageBlobRenamedEventData
setIdentity(String identity)
Set the identity property: The identity of the requester that triggered this event.StorageBlobRenamedEventData
setRequestId(String requestId)
Set the requestId property: The request id generated by the storage service for the storage API operation that triggered this event.StorageBlobRenamedEventData
setSequencer(String sequencer)
Set the sequencer property: An opaque string value representing the logical sequence of events for any particular blob name.StorageBlobRenamedEventData
setSourceUrl(String sourceUrl)
Set the sourceUrl property: The path to the blob that was renamed.StorageBlobRenamedEventData
setStorageDiagnostics(Object storageDiagnostics)
Set the storageDiagnostics property: For service use only.
-
-
-
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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData object itself.
-
getSourceUrl
public String getSourceUrl()
Get the sourceUrl property: The path to the blob that was renamed.- Returns:
- the sourceUrl value.
-
setSourceUrl
public StorageBlobRenamedEventData setSourceUrl(String sourceUrl)
Set the sourceUrl property: The path to the blob that was renamed.- Parameters:
sourceUrl
- the sourceUrl value to set.- Returns:
- the StorageBlobRenamedEventData object itself.
-
getDestinationUrl
public String getDestinationUrl()
Get the destinationUrl property: The new path to the blob after the rename operation.- Returns:
- the destinationUrl value.
-
setDestinationUrl
public StorageBlobRenamedEventData setDestinationUrl(String destinationUrl)
Set the destinationUrl property: The new path to the blob after the rename operation.- Parameters:
destinationUrl
- the destinationUrl value to set.- Returns:
- the StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData 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 StorageBlobRenamedEventData object itself.
-
-