Class AppConfigurationSnapshotEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AppConfigurationSnapshotEventData
- Direct Known Subclasses:
AppConfigurationSnapshotCreatedEventData,AppConfigurationSnapshotModifiedEventData
Schema of common properties of snapshot events.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AppConfigurationSnapshotEventData class. -
Method Summary
Modifier and TypeMethodDescriptiongetEtag()Get the etag property: The etag representing the new state of the snapshot.getName()Get the name property: The name of the snapshot.Get the syncToken property: The sync token representing the server state after the event.Set the etag property: The etag representing the new state of the snapshot.Set the name property: The name of the snapshot.setSyncToken(String syncToken) Set the syncToken property: The sync token representing the server state after the event.
-
Constructor Details
-
AppConfigurationSnapshotEventData
public AppConfigurationSnapshotEventData()Creates an instance of AppConfigurationSnapshotEventData class.
-
-
Method Details
-
getName
Get the name property: The name of the snapshot.- Returns:
- the name value.
-
setName
Set the name property: The name of the snapshot.- Parameters:
name- the name value to set.- Returns:
- the AppConfigurationSnapshotEventData object itself.
-
getEtag
Get the etag property: The etag representing the new state of the snapshot.- Returns:
- the etag value.
-
setEtag
Set the etag property: The etag representing the new state of the snapshot.- Parameters:
etag- the etag value to set.- Returns:
- the AppConfigurationSnapshotEventData object itself.
-
getSyncToken
Get the syncToken property: The sync token representing the server state after the event.- Returns:
- the syncToken value.
-
setSyncToken
Set the syncToken property: The sync token representing the server state after the event.- Parameters:
syncToken- the syncToken value to set.- Returns:
- the AppConfigurationSnapshotEventData object itself.
-