public final class DiagnosticDetectorResponseProperties extends Object
| Constructor and Description |
|---|
DiagnosticDetectorResponseProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<DetectorAbnormalTimePeriod> |
abnormalTimePeriods()
Get the abnormalTimePeriods property: List of Correlated events found by the detector.
|
List<List<NameValuePair>> |
data()
Get the data property: Additional Data that detector wants to send.
|
DetectorDefinition |
detectorDefinition()
Get the detectorDefinition property: Detector's definition.
|
OffsetDateTime |
endTime()
Get the endTime property: End time of the period.
|
Boolean |
issueDetected()
Get the issueDetected property: Flag representing Issue was detected.
|
List<DiagnosticMetricSet> |
metrics()
Get the metrics property: Metrics provided by the detector.
|
ResponseMetadata |
responseMetadata()
Get the responseMetadata property: Meta Data.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time of the period.
|
void |
validate()
Validates the instance.
|
DiagnosticDetectorResponseProperties |
withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
Set the abnormalTimePeriods property: List of Correlated events found by the detector.
|
DiagnosticDetectorResponseProperties |
withData(List<List<NameValuePair>> data)
Set the data property: Additional Data that detector wants to send.
|
DiagnosticDetectorResponseProperties |
withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector's definition.
|
DiagnosticDetectorResponseProperties |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
|
DiagnosticDetectorResponseProperties |
withIssueDetected(Boolean issueDetected)
Set the issueDetected property: Flag representing Issue was detected.
|
DiagnosticDetectorResponseProperties |
withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Metrics provided by the detector.
|
DiagnosticDetectorResponseProperties |
withResponseMetadata(ResponseMetadata responseMetadata)
Set the responseMetadata property: Meta Data.
|
DiagnosticDetectorResponseProperties |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
|
public DiagnosticDetectorResponseProperties()
public OffsetDateTime startTime()
public DiagnosticDetectorResponseProperties withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DiagnosticDetectorResponseProperties withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public Boolean issueDetected()
public DiagnosticDetectorResponseProperties withIssueDetected(Boolean issueDetected)
issueDetected - the issueDetected value to set.public DetectorDefinition detectorDefinition()
public DiagnosticDetectorResponseProperties withDetectorDefinition(DetectorDefinition detectorDefinition)
detectorDefinition - the detectorDefinition value to set.public List<DiagnosticMetricSet> metrics()
public DiagnosticDetectorResponseProperties withMetrics(List<DiagnosticMetricSet> metrics)
metrics - the metrics value to set.public List<DetectorAbnormalTimePeriod> abnormalTimePeriods()
public DiagnosticDetectorResponseProperties withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
abnormalTimePeriods - the abnormalTimePeriods value to set.public List<List<NameValuePair>> data()
public DiagnosticDetectorResponseProperties withData(List<List<NameValuePair>> data)
data - the data value to set.public ResponseMetadata responseMetadata()
public DiagnosticDetectorResponseProperties withResponseMetadata(ResponseMetadata responseMetadata)
responseMetadata - the responseMetadata 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.