Class StorageDirectoryRenamedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.StorageDirectoryRenamedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryRenamed event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApi()
Get the api property: The name of the API/operation that triggered this event.Get the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.Get the destinationUrl property: The new path to the directory after the rename operation.Get the identity property: The identity of the requester that triggered this event.Get the requestId property: The request id generated by the storage service for the storage API operation that triggered this event.Get the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name.Get the sourceUrl property: The path to the directory that was renamed.Get the storageDiagnostics property: For service use only.Set the api property: The name of the API/operation that triggered this event.setClientRequestId
(String clientRequestId) Set the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.setDestinationUrl
(String destinationUrl) Set the destinationUrl property: The new path to the directory after the rename operation.setIdentity
(String identity) Set the identity property: The identity of the requester that triggered this event.setRequestId
(String requestId) Set the requestId property: The request id generated by the storage service for the storage API operation that triggered this event.setSequencer
(String sequencer) Set the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name.setSourceUrl
(String sourceUrl) Set the sourceUrl property: The path to the directory that was renamed.setStorageDiagnostics
(Object storageDiagnostics) Set the storageDiagnostics property: For service use only.
-
Constructor Details
-
StorageDirectoryRenamedEventData
public StorageDirectoryRenamedEventData()
-
-
Method Details
-
getApi
Get the api property: The name of the API/operation that triggered this event.- Returns:
- the api value.
-
setApi
Set the api property: The name of the API/operation that triggered this event.- Parameters:
api
- the api value to set.- Returns:
- the StorageDirectoryRenamedEventData object itself.
-
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
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 StorageDirectoryRenamedEventData object itself.
-
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
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 StorageDirectoryRenamedEventData object itself.
-
getSourceUrl
Get the sourceUrl property: The path to the directory that was renamed.- Returns:
- the sourceUrl value.
-
setSourceUrl
Set the sourceUrl property: The path to the directory that was renamed.- Parameters:
sourceUrl
- the sourceUrl value to set.- Returns:
- the StorageDirectoryRenamedEventData object itself.
-
getDestinationUrl
Get the destinationUrl property: The new path to the directory after the rename operation.- Returns:
- the destinationUrl value.
-
setDestinationUrl
Set the destinationUrl property: The new path to the directory after the rename operation.- Parameters:
destinationUrl
- the destinationUrl value to set.- Returns:
- the StorageDirectoryRenamedEventData object itself.
-
getSequencer
Get the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.- Returns:
- the sequencer value.
-
setSequencer
Set the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.- Parameters:
sequencer
- the sequencer value to set.- Returns:
- the StorageDirectoryRenamedEventData object itself.
-
getIdentity
Get the identity property: The identity of the requester that triggered this event.- Returns:
- the identity value.
-
setIdentity
Set the identity property: The identity of the requester that triggered this event.- Parameters:
identity
- the identity value to set.- Returns:
- the StorageDirectoryRenamedEventData object itself.
-
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
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 StorageDirectoryRenamedEventData object itself.
-