Class MachineLearningServicesDatasetDriftDetectedEventData

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

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

    • getDataDriftId

      public String getDataDriftId()
      Get the dataDriftId property: The ID of the data drift monitor that triggered the event.
      Returns:
      the dataDriftId value.
    • getDataDriftName

      public String getDataDriftName()
      Get the dataDriftName property: The name of the data drift monitor that triggered the event.
      Returns:
      the dataDriftName value.
    • getRunId

      public String getRunId()
      Get the runId property: The ID of the Run that detected data drift.
      Returns:
      the runId value.
    • getBaseDatasetId

      public String getBaseDatasetId()
      Get the baseDatasetId property: The ID of the base Dataset used to detect drift.
      Returns:
      the baseDatasetId value.
    • getTargetDatasetId

      public String getTargetDatasetId()
      Get the targetDatasetId property: The ID of the target Dataset used to detect drift.
      Returns:
      the targetDatasetId value.
    • getDriftCoefficient

      public Double getDriftCoefficient()
      Get the driftCoefficient property: The coefficient result that triggered the event.
      Returns:
      the driftCoefficient value.
    • getStartTime

      public OffsetDateTime getStartTime()
      Get the startTime property: The start time of the target dataset time series that resulted in drift detection.
      Returns:
      the startTime value.
    • getEndTime

      public OffsetDateTime getEndTime()
      Get the endTime property: The end time of the target dataset time series that resulted in drift detection.
      Returns:
      the endTime value.
    • toJson

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

      public static MachineLearningServicesDatasetDriftDetectedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MachineLearningServicesDatasetDriftDetectedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MachineLearningServicesDatasetDriftDetectedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the MachineLearningServicesDatasetDriftDetectedEventData.