Condividi tramite


DiagnosticDetectorResponseInner Class

public final class DiagnosticDetectorResponseInner
extends ProxyOnlyResource

Class representing Response from Diagnostic Detectors.

Method Summary

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.

static DiagnosticDetectorResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticDetectorResponseInner from the JsonReader.

String id()

Get the id property: Resource Id.

Boolean issueDetected()

Get the issueDetected property: Flag representing Issue was detected.

List<DiagnosticMetricSet> metrics()

Get the metrics property: Metrics provided by the detector.

String name()

Get the name property: Resource Name.

ResponseMetadata responseMetaData()

Get the responseMetaData property: Meta Data.

OffsetDateTime startTime()

Get the startTime property: Start time of the period.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

abnormalTimePeriods

public List<DetectorAbnormalTimePeriod> abnormalTimePeriods()

Get the abnormalTimePeriods property: List of Correlated events found by the detector.

Returns:

the abnormalTimePeriods value.

data

public List<List<NameValuePair>> data()

Get the data property: Additional Data that detector wants to send.

Returns:

the data value.

detectorDefinition

public DetectorDefinition detectorDefinition()

Get the detectorDefinition property: Detector's definition.

Returns:

the detectorDefinition value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the period.

Returns:

the endTime value.

fromJson

public static DiagnosticDetectorResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticDetectorResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiagnosticDetectorResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DiagnosticDetectorResponseInner.

id

public String id()

Get the id property: Resource Id.

Overrides:

DiagnosticDetectorResponseInner.id()

Returns:

the id value.

issueDetected

public Boolean issueDetected()

Get the issueDetected property: Flag representing Issue was detected.

Returns:

the issueDetected value.

metrics

public List<DiagnosticMetricSet> metrics()

Get the metrics property: Metrics provided by the detector.

Returns:

the metrics value.

name

public String name()

Get the name property: Resource Name.

Overrides:

DiagnosticDetectorResponseInner.name()

Returns:

the name value.

responseMetaData

public ResponseMetadata responseMetaData()

Get the responseMetaData property: Meta Data.

Returns:

the responseMetaData value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of the period.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiagnosticDetectorResponseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

DiagnosticDetectorResponseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DiagnosticDetectorResponseInner.validate()

Applies to