public final class DiagnosticDetectorResponseInner extends ProxyOnlyResource
| Constructor and Description |
|---|
DiagnosticDetectorResponseInner() |
| 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.
|
DiagnosticDetectorResponseInner |
withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
Set the abnormalTimePeriods property: List of Correlated events found by the detector.
|
DiagnosticDetectorResponseInner |
withData(List<List<NameValuePair>> data)
Set the data property: Additional Data that detector wants to send.
|
DiagnosticDetectorResponseInner |
withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector's definition.
|
DiagnosticDetectorResponseInner |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
|
DiagnosticDetectorResponseInner |
withIssueDetected(Boolean issueDetected)
Set the issueDetected property: Flag representing Issue was detected.
|
DiagnosticDetectorResponseInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
DiagnosticDetectorResponseInner |
withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Metrics provided by the detector.
|
DiagnosticDetectorResponseInner |
withResponseMetadata(ResponseMetadata responseMetadata)
Set the responseMetadata property: Meta Data.
|
DiagnosticDetectorResponseInner |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
|
kindpublic DiagnosticDetectorResponseInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public OffsetDateTime startTime()
public DiagnosticDetectorResponseInner withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DiagnosticDetectorResponseInner withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public Boolean issueDetected()
public DiagnosticDetectorResponseInner withIssueDetected(Boolean issueDetected)
issueDetected - the issueDetected value to set.public DetectorDefinition detectorDefinition()
public DiagnosticDetectorResponseInner withDetectorDefinition(DetectorDefinition detectorDefinition)
detectorDefinition - the detectorDefinition value to set.public List<DiagnosticMetricSet> metrics()
public DiagnosticDetectorResponseInner withMetrics(List<DiagnosticMetricSet> metrics)
metrics - the metrics value to set.public List<DetectorAbnormalTimePeriod> abnormalTimePeriods()
public DiagnosticDetectorResponseInner withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
abnormalTimePeriods - the abnormalTimePeriods value to set.public List<List<NameValuePair>> data()
public DiagnosticDetectorResponseInner withData(List<List<NameValuePair>> data)
data - the data value to set.public ResponseMetadata responseMetadata()
public DiagnosticDetectorResponseInner withResponseMetadata(ResponseMetadata responseMetadata)
responseMetadata - the responseMetadata value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.