public class DiagnosticAnalysisInner extends ProxyOnlyResource
| Constructor and Description |
|---|
DiagnosticAnalysisInner() |
| 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.
|
List<DetectorDefinitionInner> |
nonCorrelatedDetectors()
Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
|
List<AnalysisDataInner> |
payload()
Get the payload property: Data by each detector.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time of the period.
|
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<DetectorDefinitionInner> nonCorrelatedDetectors)
Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
|
DiagnosticAnalysisInner |
withPayload(List<AnalysisDataInner> payload)
Set the payload property: Data by each detector.
|
DiagnosticAnalysisInner |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
|
kindpublic OffsetDateTime startTime()
public DiagnosticAnalysisInner withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DiagnosticAnalysisInner withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public List<AbnormalTimePeriod> abnormalTimePeriods()
public DiagnosticAnalysisInner withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
abnormalTimePeriods - the abnormalTimePeriods value to set.public List<AnalysisDataInner> payload()
public DiagnosticAnalysisInner withPayload(List<AnalysisDataInner> payload)
payload - the payload value to set.public List<DetectorDefinitionInner> nonCorrelatedDetectors()
public DiagnosticAnalysisInner withNonCorrelatedDetectors(List<DetectorDefinitionInner> nonCorrelatedDetectors)
nonCorrelatedDetectors - the nonCorrelatedDetectors value to set.public DiagnosticAnalysisInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.