public final class AnalysisData extends Object
| Constructor and Description |
|---|
AnalysisData() |
| Modifier and Type | Method and Description |
|---|---|
List<List<NameValuePair>> |
data()
Get the data property: Additional Source Data.
|
DetectorDefinition |
detectorDefinition()
Get the detectorDefinition property: Detector Definition.
|
ResponseMetadata |
detectorMetadata()
Get the detectorMetadata property: Detector Meta Data.
|
List<DiagnosticMetricSet> |
metrics()
Get the metrics property: Source Metrics.
|
String |
source()
Get the source property: Name of the Detector.
|
void |
validate()
Validates the instance.
|
AnalysisData |
withData(List<List<NameValuePair>> data)
Set the data property: Additional Source Data.
|
AnalysisData |
withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector Definition.
|
AnalysisData |
withDetectorMetadata(ResponseMetadata detectorMetadata)
Set the detectorMetadata property: Detector Meta Data.
|
AnalysisData |
withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Source Metrics.
|
AnalysisData |
withSource(String source)
Set the source property: Name of the Detector.
|
public String source()
public AnalysisData withSource(String source)
source - the source value to set.public DetectorDefinition detectorDefinition()
public AnalysisData withDetectorDefinition(DetectorDefinition detectorDefinition)
detectorDefinition - the detectorDefinition value to set.public List<DiagnosticMetricSet> metrics()
public AnalysisData withMetrics(List<DiagnosticMetricSet> metrics)
metrics - the metrics value to set.public List<List<NameValuePair>> data()
public AnalysisData withData(List<List<NameValuePair>> data)
data - the data value to set.public ResponseMetadata detectorMetadata()
public AnalysisData withDetectorMetadata(ResponseMetadata detectorMetadata)
detectorMetadata - the detectorMetadata value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.