DiagnosticAnalysisInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DiagnosticAnalysisInner
- com.
- com.
- com.
public final class DiagnosticAnalysisInner
extends ProxyOnlyResource
Class representing a diagnostic analysis done on an application.
Constructor Summary
Constructor | Description |
---|---|
DiagnosticAnalysisInner() |
Creates an instance of Diagnostic |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Abnormal |
abnormalTimePeriods()
Get the abnormal |
Offset |
endTime()
Get the end |
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
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<Detector |
nonCorrelatedDetectors()
Get the non |
List<Analysis |
payload()
Get the payload property: Data by each detector. |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Diagnostic |
withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
Set the abnormal |
Diagnostic |
withEndTime(OffsetDateTime endTime)
Set the end |
Diagnostic |
withKind(String kind)
Set the kind property: Kind of resource. |
Diagnostic |
withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)
Set the non |
Diagnostic |
withPayload(List<AnalysisData> payload)
Set the payload property: Data by each detector. |
Diagnostic |
withStartTime(OffsetDateTime startTime)
Set the start |
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
Get the abnormalTimePeriods property: List of time periods.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.
Returns:
fromJson
public static DiagnosticAnalysisInner fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticAnalysisInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DiagnosticAnalysisInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DiagnosticAnalysisInner.name()Returns:
nonCorrelatedDetectors
public List
Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
Returns:
payload
public List
Get the payload property: Data by each detector.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiagnosticAnalysisInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DiagnosticAnalysisInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DiagnosticAnalysisInner.validate()withAbnormalTimePeriods
public DiagnosticAnalysisInner withAbnormalTimePeriods(List
Set the abnormalTimePeriods property: List of time periods.
Parameters:
Returns:
withEndTime
public DiagnosticAnalysisInner withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
Parameters:
Returns:
withKind
public DiagnosticAnalysisInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DiagnosticAnalysisInner.withKind(String kind)Parameters:
withNonCorrelatedDetectors
public DiagnosticAnalysisInner withNonCorrelatedDetectors(List
Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
Parameters:
Returns:
withPayload
public DiagnosticAnalysisInner withPayload(List
Set the payload property: Data by each detector.
Parameters:
Returns:
withStartTime
public DiagnosticAnalysisInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
Parameters:
Returns:
Applies to
Azure SDK for Java