Class DiagnosticAnalysisInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.DiagnosticAnalysisInner
-
public final class DiagnosticAnalysisInner extends ProxyOnlyResource
Class representing a diagnostic analysis done on an application.
-
-
Constructor Summary
Constructors Constructor Description DiagnosticAnalysisInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbnormalTimePeriod>abnormalTimePeriods()Get the abnormalTimePeriods property: List of time periods.OffsetDateTimeendTime()Get the endTime property: End time of the period.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.OffsetDateTimestartTime()Get the startTime property: Start time of the period.voidvalidate()Validates the instance.DiagnosticAnalysisInnerwithAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)Set the abnormalTimePeriods property: List of time periods.DiagnosticAnalysisInnerwithEndTime(OffsetDateTime endTime)Set the endTime property: End time of the period.DiagnosticAnalysisInnerwithKind(String kind)Set the kind property: Kind of resource.DiagnosticAnalysisInnerwithNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.DiagnosticAnalysisInnerwithPayload(List<AnalysisData> payload)Set the payload property: Data by each detector.DiagnosticAnalysisInnerwithStartTime(OffsetDateTime startTime)Set the startTime property: Start time of the period.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public DiagnosticAnalysisInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.- Returns:
- the startTime value.
-
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.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.- Returns:
- the endTime value.
-
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.
-
abnormalTimePeriods
public List<AbnormalTimePeriod> abnormalTimePeriods()
Get the abnormalTimePeriods property: List of time periods.- Returns:
- the abnormalTimePeriods value.
-
withAbnormalTimePeriods
public DiagnosticAnalysisInner withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
Set the abnormalTimePeriods property: List of time periods.- Parameters:
abnormalTimePeriods- the abnormalTimePeriods value to set.- Returns:
- the DiagnosticAnalysisInner object itself.
-
payload
public List<AnalysisData> payload()
Get the payload property: Data by each detector.- Returns:
- the payload value.
-
withPayload
public DiagnosticAnalysisInner withPayload(List<AnalysisData> payload)
Set the payload property: Data by each detector.- Parameters:
payload- the payload value to set.- Returns:
- the DiagnosticAnalysisInner object itself.
-
nonCorrelatedDetectors
public List<DetectorDefinition> nonCorrelatedDetectors()
Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.- Returns:
- the nonCorrelatedDetectors value.
-
withNonCorrelatedDetectors
public DiagnosticAnalysisInner withNonCorrelatedDetectors(List<DetectorDefinition> 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.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-