StorageDirectoryCreatedEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. StorageDirectoryCreatedEventData
- com.
Implements
public final class StorageDirectoryCreatedEventData
implements JsonSerializable<StorageDirectoryCreatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryCreated event.
Constructor Summary
Constructor | Description |
---|---|
StorageDirectoryCreatedEventData() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
String |
getApi()
Get the api property: The name of the API/operation that triggered this event. |
String |
getClientRequestId()
Get the client |
String |
getETag()
Get the e |
String |
getIdentity()
Get the identity property: The identity of the requester that triggered this event. |
String |
getRequestId()
Get the request |
String |
getSequencer()
Get the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name. |
Object |
getStorageDiagnostics()
Get the storage |
String |
getUrl()
Get the url property: The path to the directory. |
Storage |
setApi(String api)
Set the api property: The name of the API/operation that triggered this event. |
Storage |
setClientRequestId(String clientRequestId)
Set the client |
Storage |
setETag(String eTag)
Set the e |
Storage |
setIdentity(String identity)
Set the identity property: The identity of the requester that triggered this event. |
Storage |
setRequestId(String requestId)
Set the request |
Storage |
setSequencer(String sequencer)
Set the sequencer property: An opaque string value representing the logical sequence of events for any particular directory name. |
Storage |
setStorageDiagnostics(Object storageDiagnostics)
Set the storage |
Storage |
setUrl(String url)
Set the url property: The path to the directory. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
StorageDirectoryCreatedEventData
public StorageDirectoryCreatedEventData()
Creates an instance of StorageDirectoryCreatedEventData class.
Method Details
fromJson
public static StorageDirectoryCreatedEventData fromJson(JsonReader jsonReader)
Reads an instance of StorageDirectoryCreatedEventData from the JsonReader.
Parameters:
Returns:
Throws:
getApi
public String getApi()
Get the api property: The name of the API/operation that triggered this event.
Returns:
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:
getETag
public String getETag()
Get the eTag property: The etag of the directory at the time this event was triggered.
Returns:
getIdentity
public String getIdentity()
Get the identity property: The identity of the requester that triggered this event.
Returns:
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:
getSequencer
public String 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:
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:
getUrl
public String getUrl()
Get the url property: The path to the directory.
Returns:
setApi
public StorageDirectoryCreatedEventData setApi(String api)
Set the api property: The name of the API/operation that triggered this event.
Parameters:
Returns:
setClientRequestId
public StorageDirectoryCreatedEventData setClientRequestId(String clientRequestId)
Set the clientRequestId property: A request id provided by the client of the storage API operation that triggered this event.
Parameters:
Returns:
setETag
public StorageDirectoryCreatedEventData setETag(String eTag)
Set the eTag property: The etag of the directory at the time this event was triggered.
Parameters:
Returns:
setIdentity
public StorageDirectoryCreatedEventData setIdentity(String identity)
Set the identity property: The identity of the requester that triggered this event.
Parameters:
Returns:
setRequestId
public StorageDirectoryCreatedEventData 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:
Returns:
setSequencer
public StorageDirectoryCreatedEventData setSequencer(String sequencer)
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:
Returns:
setStorageDiagnostics
public StorageDirectoryCreatedEventData 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:
Returns:
setUrl
public StorageDirectoryCreatedEventData setUrl(String url)
Set the url property: The path to the directory.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for