Class RedisExportRdbCompletedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.RedisExportRdbCompletedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<RedisExportRdbCompletedEventData>

public final class RedisExportRdbCompletedEventData extends Object implements com.azure.json.JsonSerializable<RedisExportRdbCompletedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ExportRDBCompleted event.
  • Method Details

    • getTimestamp

      public OffsetDateTime getTimestamp()
      Get the timestamp property: The time at which the event occurred.
      Returns:
      the timestamp value.
    • getName

      public String getName()
      Get the name property: The name of this event.
      Returns:
      the name value.
    • getStatus

      public String getStatus()
      Get the status property: The status of this event. Failed or succeeded.
      Returns:
      the status value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RedisExportRdbCompletedEventData>
      Throws:
      IOException
    • fromJson

      public static RedisExportRdbCompletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RedisExportRdbCompletedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RedisExportRdbCompletedEventData 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 RedisExportRdbCompletedEventData.