DiagnosticAnalysisInner Class

public final class DiagnosticAnalysisInner
extends ProxyOnlyResource

Class representing a diagnostic analysis done on an application.

Constructor Summary

Constructor Description
DiagnosticAnalysisInner()

Creates an instance of DiagnosticAnalysisInner class.

Method Summary

Modifier and Type Method and Description
List<AbnormalTimePeriod> abnormalTimePeriods()

Get the abnormalTimePeriods property: List of time periods.

OffsetDateTime endTime()

Get the endTime property: End time of the period.

static DiagnosticAnalysisInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticAnalysisInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<DetectorDefinition> nonCorrelatedDetectors()

Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.

List<AnalysisData> payload()

Get the payload property: Data by each detector.

OffsetDateTime startTime()

Get the startTime property: Start time of the period.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DiagnosticAnalysisInner withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)

Set the abnormalTimePeriods property: List of time periods.

DiagnosticAnalysisInner withEndTime(OffsetDateTime endTime)

Set the endTime property: End time of the period.

DiagnosticAnalysisInner withKind(String kind)

Set the kind property: Kind of resource.

DiagnosticAnalysisInner withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)

Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.

DiagnosticAnalysisInner withPayload(List<AnalysisData> payload)

Set the payload property: Data by each detector.

DiagnosticAnalysisInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time of the period.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

DiagnosticAnalysisInner

public DiagnosticAnalysisInner()

Creates an instance of DiagnosticAnalysisInner class.

Method Details

abnormalTimePeriods

public List abnormalTimePeriods()

Get the abnormalTimePeriods property: List of time periods.

Returns:

the abnormalTimePeriods value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the period.

Returns:

the endTime value.

fromJson

public static DiagnosticAnalysisInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticAnalysisInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DiagnosticAnalysisInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DiagnosticAnalysisInner.name()

Returns:

the name value.

nonCorrelatedDetectors

public List nonCorrelatedDetectors()

Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.

Returns:

the nonCorrelatedDetectors value.

payload

public List payload()

Get the payload property: Data by each detector.

Returns:

the payload 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:

DiagnosticAnalysisInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DiagnosticAnalysisInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DiagnosticAnalysisInner.validate()

withAbnormalTimePeriods

public DiagnosticAnalysisInner withAbnormalTimePeriods(List abnormalTimePeriods)

Set the abnormalTimePeriods property: List of time periods.

Parameters:

abnormalTimePeriods - the abnormalTimePeriods value to set.

Returns:

the DiagnosticAnalysisInner object itself.

withEndTime

public DiagnosticAnalysisInner withEndTime(OffsetDateTime endTime)

Set the endTime property: End time of the period.

Parameters:

endTime - the endTime value to set.

Returns:

the DiagnosticAnalysisInner object itself.

withKind

public DiagnosticAnalysisInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

DiagnosticAnalysisInner.withKind(String kind)

Parameters:

kind

withNonCorrelatedDetectors

public DiagnosticAnalysisInner withNonCorrelatedDetectors(List nonCorrelatedDetectors)

Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.

Parameters:

nonCorrelatedDetectors - the nonCorrelatedDetectors value to set.

Returns:

the DiagnosticAnalysisInner object itself.

withPayload

public DiagnosticAnalysisInner withPayload(List payload)

Set the payload property: Data by each detector.

Parameters:

payload - the payload value to set.

Returns:

the DiagnosticAnalysisInner object itself.

withStartTime

public DiagnosticAnalysisInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time of the period.

Parameters:

startTime - the startTime value to set.

Returns:

the DiagnosticAnalysisInner object itself.

Applies to