AnalysisData Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AnalysisData
- com.
Implements
public final class AnalysisData
implements JsonSerializable<AnalysisData>
Class Representing Detector Evidence used for analysis.
Constructor Summary
Constructor | Description |
---|---|
AnalysisData() |
Creates an instance of Analysis |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<List<Name |
data()
Get the data property: Additional Source Data. |
Detector |
detectorDefinition()
Get the detector |
Response |
detectorMetadata()
Get the detector |
static
Analysis |
fromJson(JsonReader jsonReader)
Reads an instance of Analysis |
List<Diagnostic |
metrics()
Get the metrics property: Source Metrics. |
String |
source()
Get the source property: Name of the Detector. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Analysis |
withData(List<List<NameValuePair>> data)
Set the data property: Additional Source Data. |
Analysis |
withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detector |
Analysis |
withDetectorMetadata(ResponseMetadata detectorMetadata)
Set the detector |
Analysis |
withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Source Metrics. |
Analysis |
withSource(String source)
Set the source property: Name of the Detector. |
Methods inherited from java.lang.Object
Constructor Details
AnalysisData
public AnalysisData()
Creates an instance of AnalysisData class.
Method Details
data
public List> data()
Get the data property: Additional Source Data.
Returns:
detectorDefinition
public DetectorDefinition detectorDefinition()
Get the detectorDefinition property: Detector Definition.
Returns:
detectorMetadata
public ResponseMetadata detectorMetadata()
Get the detectorMetadata property: Detector Meta Data.
Returns:
fromJson
public static AnalysisData fromJson(JsonReader jsonReader)
Reads an instance of AnalysisData from the JsonReader.
Parameters:
Returns:
Throws:
metrics
public List
Get the metrics property: Source Metrics.
Returns:
source
public String source()
Get the source property: Name of the Detector.
Returns:
toJson
validate
public void validate()
Validates the instance.
withData
public AnalysisData withData(List> data)
Set the data property: Additional Source Data.
Parameters:
Returns:
withDetectorDefinition
public AnalysisData withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector Definition.
Parameters:
Returns:
withDetectorMetadata
public AnalysisData withDetectorMetadata(ResponseMetadata detectorMetadata)
Set the detectorMetadata property: Detector Meta Data.
Parameters:
Returns:
withMetrics
public AnalysisData withMetrics(List
Set the metrics property: Source Metrics.
Parameters:
Returns:
withSource
public AnalysisData withSource(String source)
Set the source property: Name of the Detector.
Parameters:
Returns:
Applies to
Azure SDK for Java