public final 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<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.
|
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.
|
kindpublic DiagnosticAnalysisInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public 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<AnalysisData> payload()
public DiagnosticAnalysisInner withPayload(List<AnalysisData> payload)
payload - the payload value to set.public List<DetectorDefinition> nonCorrelatedDetectors()
public DiagnosticAnalysisInner withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)
nonCorrelatedDetectors - the nonCorrelatedDetectors value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.