public final class DiagnosticAnalysisProperties extends Object
| Constructor and Description |
|---|
DiagnosticAnalysisProperties() |
| 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.
|
DiagnosticAnalysisProperties |
withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
Set the abnormalTimePeriods property: List of time periods.
|
DiagnosticAnalysisProperties |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
|
DiagnosticAnalysisProperties |
withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)
Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
|
DiagnosticAnalysisProperties |
withPayload(List<AnalysisData> payload)
Set the payload property: Data by each detector.
|
DiagnosticAnalysisProperties |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
|
public OffsetDateTime startTime()
public DiagnosticAnalysisProperties withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DiagnosticAnalysisProperties withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public List<AbnormalTimePeriod> abnormalTimePeriods()
public DiagnosticAnalysisProperties withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
abnormalTimePeriods - the abnormalTimePeriods value to set.public List<AnalysisData> payload()
public DiagnosticAnalysisProperties withPayload(List<AnalysisData> payload)
payload - the payload value to set.public List<DetectorDefinition> nonCorrelatedDetectors()
public DiagnosticAnalysisProperties withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)
nonCorrelatedDetectors - the nonCorrelatedDetectors value to set.public void validate()
IllegalArgumentException - 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.