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 Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AppConfigurationKeyValueModifiedEventData from the JsonReader.
    Get the etag property: The etag representing the new state of the key-value.
    Get the key property: The key used to identify the key-value that was modified.
    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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • getKey

      public String getKey()
      Get the key property: The key used to identify the key-value that was modified.
      Returns:
      the key value.
    • getLabel

      public String getLabel()
      Get the label property: The label, if any, used to identify the key-value that was modified.
      Returns:
      the label value.
    • getEtag

      public String getEtag()
      Get the etag property: The etag representing the new state of the key-value.
      Returns:
      the etag value.
    • getSyncToken

      public String getSyncToken()
      Get the syncToken property: The sync token representing the server state after the event.
      Returns:
      the syncToken value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.