Class AnalysisData
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.AnalysisData
-
public final class AnalysisData extends Object
Class Representing Detector Evidence used for analysis.
-
-
Constructor Summary
Constructors Constructor Description AnalysisData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NameValuePair>>data()Get the data property: Additional Source Data.DetectorDefinitiondetectorDefinition()Get the detectorDefinition property: Detector Definition.ResponseMetadatadetectorMetadata()Get the detectorMetadata property: Detector Meta Data.List<DiagnosticMetricSet>metrics()Get the metrics property: Source Metrics.Stringsource()Get the source property: Name of the Detector.voidvalidate()Validates the instance.AnalysisDatawithData(List<List<NameValuePair>> data)Set the data property: Additional Source Data.AnalysisDatawithDetectorDefinition(DetectorDefinition detectorDefinition)Set the detectorDefinition property: Detector Definition.AnalysisDatawithDetectorMetadata(ResponseMetadata detectorMetadata)Set the detectorMetadata property: Detector Meta Data.AnalysisDatawithMetrics(List<DiagnosticMetricSet> metrics)Set the metrics property: Source Metrics.AnalysisDatawithSource(String source)Set the source property: Name of the Detector.
-
-
-
Method Detail
-
source
public String source()
Get the source property: Name of the Detector.- Returns:
- the source value.
-
withSource
public AnalysisData withSource(String source)
Set the source property: Name of the Detector.- Parameters:
source- the source value to set.- Returns:
- the AnalysisData object itself.
-
detectorDefinition
public DetectorDefinition detectorDefinition()
Get the detectorDefinition property: Detector Definition.- Returns:
- the detectorDefinition value.
-
withDetectorDefinition
public AnalysisData withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector Definition.- Parameters:
detectorDefinition- the detectorDefinition value to set.- Returns:
- the AnalysisData object itself.
-
metrics
public List<DiagnosticMetricSet> metrics()
Get the metrics property: Source Metrics.- Returns:
- the metrics value.
-
withMetrics
public AnalysisData withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Source Metrics.- Parameters:
metrics- the metrics value to set.- Returns:
- the AnalysisData object itself.
-
data
public List<List<NameValuePair>> data()
Get the data property: Additional Source Data.- Returns:
- the data value.
-
withData
public AnalysisData withData(List<List<NameValuePair>> data)
Set the data property: Additional Source Data.- Parameters:
data- the data value to set.- Returns:
- the AnalysisData object itself.
-
detectorMetadata
public ResponseMetadata detectorMetadata()
Get the detectorMetadata property: Detector Meta Data.- Returns:
- the detectorMetadata value.
-
withDetectorMetadata
public AnalysisData withDetectorMetadata(ResponseMetadata detectorMetadata)
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.
-
-