Class AppConfigurationKeyValueModifiedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AppConfigurationKeyValueModifiedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AppConfigurationKeyValueModifiedEventData>
public final class AppConfigurationKeyValueModifiedEventData
extends Object
implements com.azure.json.JsonSerializable<AppConfigurationKeyValueModifiedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueModified event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AppConfigurationKeyValueModifiedEventData from the JsonReader.getEtag()Get the etag property: The etag representing the new state of the key-value.getKey()Get the key property: The key used to identify the key-value that was modified.getLabel()Get the label property: The label, if any, used to identify the key-value that was modified.Get the syncToken property: The sync token representing the server state after the event.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getKey
Get the key property: The key used to identify the key-value that was modified.- Returns:
- the key value.
-
getLabel
Get the label property: The label, if any, used to identify the key-value that was modified.- Returns:
- the label value.
-
getEtag
Get the etag property: The etag representing the new state of the key-value.- Returns:
- the etag value.
-
getSyncToken
Get the syncToken property: The sync token representing the server state after the event.- Returns:
- the syncToken value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AppConfigurationKeyValueModifiedEventData>- Throws:
IOException
-
fromJson
public static AppConfigurationKeyValueModifiedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AppConfigurationKeyValueModifiedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AppConfigurationKeyValueModifiedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AppConfigurationKeyValueModifiedEventData.
-