Class AnalysisData
java.lang.Object
com.azure.resourcemanager.appservice.models.AnalysisData
Class Representing Detector Evidence used for analysis.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondata()
Get the data property: Additional Source Data.Get the detectorDefinition property: Detector Definition.Get the detectorMetadata property: Detector Meta Data.metrics()
Get the metrics property: Source Metrics.source()
Get the source property: Name of the Detector.void
validate()
Validates the instance.withData
(List<List<NameValuePair>> data) Set the data property: Additional Source Data.withDetectorDefinition
(DetectorDefinition detectorDefinition) Set the detectorDefinition property: Detector Definition.withDetectorMetadata
(ResponseMetadata detectorMetadata) Set the detectorMetadata property: Detector Meta Data.withMetrics
(List<DiagnosticMetricSet> metrics) Set the metrics property: Source Metrics.withSource
(String source) Set the source property: Name of the Detector.
-
Constructor Details
-
AnalysisData
public AnalysisData()
-
-
Method Details
-
source
Get the source property: Name of the Detector.- Returns:
- the source value.
-
withSource
Set the source property: Name of the Detector.- Parameters:
source
- the source value to set.- Returns:
- the AnalysisData object itself.
-
detectorDefinition
Get the detectorDefinition property: Detector Definition.- Returns:
- the detectorDefinition value.
-
withDetectorDefinition
Set the detectorDefinition property: Detector Definition.- Parameters:
detectorDefinition
- the detectorDefinition value to set.- Returns:
- the AnalysisData object itself.
-
metrics
Get the metrics property: Source Metrics.- Returns:
- the metrics value.
-
withMetrics
Set the metrics property: Source Metrics.- Parameters:
metrics
- the metrics value to set.- Returns:
- the AnalysisData object itself.
-
data
Get the data property: Additional Source Data.- Returns:
- the data value.
-
withData
Set the data property: Additional Source Data.- Parameters:
data
- the data value to set.- Returns:
- the AnalysisData object itself.
-
detectorMetadata
Get the detectorMetadata property: Detector Meta Data.- Returns:
- the detectorMetadata value.
-
withDetectorMetadata
Set the detectorMetadata property: Detector Meta Data.- Parameters:
detectorMetadata
- the detectorMetadata value to set.- Returns:
- the AnalysisData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-