Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.microsoft.azure.management.appservice.implementation.DetectorDefinitionInner;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Class Representing Detector Evidence used for analysis.
/**
* Class Representing Detector Evidence used for analysis.
*/
public class AnalysisData {
Name of the Detector.
/**
* Name of the Detector.
*/
@JsonProperty(value = "source")
private String source;
Detector Definition.
/**
* Detector Definition.
*/
@JsonProperty(value = "detectorDefinition")
private DetectorDefinitionInner detectorDefinition;
Source Metrics.
/**
* Source Metrics.
*/
@JsonProperty(value = "metrics")
private List<DiagnosticMetricSet> metrics;
Additional Source Data.
/**
* Additional Source Data.
*/
@JsonProperty(value = "data")
private List<List<NameValuePair>> data;
Detector Meta Data.
/**
* Detector Meta Data.
*/
@JsonProperty(value = "detectorMetaData")
private ResponseMetaData detectorMetaData;
Get name of the Detector.
Returns: the source value
/**
* Get name of the Detector.
*
* @return the source value
*/
public String source() {
return this.source;
}
Set name of the Detector.
Params: - source – the source value to set
Returns: the AnalysisData object itself.
/**
* Set name of the Detector.
*
* @param source the source value to set
* @return the AnalysisData object itself.
*/
public AnalysisData withSource(String source) {
this.source = source;
return this;
}
Get detector Definition.
Returns: the detectorDefinition value
/**
* Get detector Definition.
*
* @return the detectorDefinition value
*/
public DetectorDefinitionInner detectorDefinition() {
return this.detectorDefinition;
}
Set detector Definition.
Params: - detectorDefinition – the detectorDefinition value to set
Returns: the AnalysisData object itself.
/**
* Set detector Definition.
*
* @param detectorDefinition the detectorDefinition value to set
* @return the AnalysisData object itself.
*/
public AnalysisData withDetectorDefinition(DetectorDefinitionInner detectorDefinition) {
this.detectorDefinition = detectorDefinition;
return this;
}
Get source Metrics.
Returns: the metrics value
/**
* Get source Metrics.
*
* @return the metrics value
*/
public List<DiagnosticMetricSet> metrics() {
return this.metrics;
}
Set source Metrics.
Params: - metrics – the metrics value to set
Returns: the AnalysisData object itself.
/**
* Set source Metrics.
*
* @param metrics the metrics value to set
* @return the AnalysisData object itself.
*/
public AnalysisData withMetrics(List<DiagnosticMetricSet> metrics) {
this.metrics = metrics;
return this;
}
Get additional Source Data.
Returns: the data value
/**
* Get additional Source Data.
*
* @return the data value
*/
public List<List<NameValuePair>> data() {
return this.data;
}
Set additional Source Data.
Params: - data – the data value to set
Returns: the AnalysisData object itself.
/**
* Set additional Source Data.
*
* @param data the data value to set
* @return the AnalysisData object itself.
*/
public AnalysisData withData(List<List<NameValuePair>> data) {
this.data = data;
return this;
}
Get detector Meta Data.
Returns: the detectorMetaData value
/**
* Get detector Meta Data.
*
* @return the detectorMetaData value
*/
public ResponseMetaData detectorMetaData() {
return this.detectorMetaData;
}
Set detector Meta Data.
Params: - detectorMetaData – the detectorMetaData value to set
Returns: the AnalysisData object itself.
/**
* Set detector Meta Data.
*
* @param detectorMetaData the detectorMetaData value to set
* @return the AnalysisData object itself.
*/
public AnalysisData withDetectorMetaData(ResponseMetaData detectorMetaData) {
this.detectorMetaData = detectorMetaData;
return this;
}
}