Class AnalysisData

java.lang.Object
com.azure.resourcemanager.appservice.models.AnalysisData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalysisData>

public final class AnalysisData extends Object implements com.azure.json.JsonSerializable<AnalysisData>
Class Representing Detector Evidence used for analysis.
  • Method Details

    • source

      public String source()
      Get the source property: Name of the Detector.
      Returns:
      the source value.
    • detectorDefinition

      public DetectorDefinition detectorDefinition()
      Get the detectorDefinition property: Detector Definition.
      Returns:
      the detectorDefinition value.
    • metrics

      public List<DiagnosticMetricSet> metrics()
      Get the metrics property: Source Metrics.
      Returns:
      the metrics value.
    • data

      public List<List<NameValuePair>> data()
      Get the data property: Additional Source Data.
      Returns:
      the data value.
    • detectorMetadata

      public ResponseMetadata detectorMetadata()
      Get the detectorMetadata property: Detector Meta Data.
      Returns:
      the detectorMetadata value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

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