public final class AbnormalTimePeriod extends Object
| Constructor and Description |
|---|
AbnormalTimePeriod() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
endTime()
Get the endTime property: End time of the downtime.
|
List<DetectorAbnormalTimePeriod> |
events()
Get the events property: List of Possible Cause of downtime.
|
List<Solution> |
solutions()
Get the solutions property: List of proposed solutions.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time of the downtime.
|
void |
validate()
Validates the instance.
|
AbnormalTimePeriod |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the downtime.
|
AbnormalTimePeriod |
withEvents(List<DetectorAbnormalTimePeriod> events)
Set the events property: List of Possible Cause of downtime.
|
AbnormalTimePeriod |
withSolutions(List<Solution> solutions)
Set the solutions property: List of proposed solutions.
|
AbnormalTimePeriod |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the downtime.
|
public OffsetDateTime startTime()
public AbnormalTimePeriod withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public AbnormalTimePeriod withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public List<DetectorAbnormalTimePeriod> events()
public AbnormalTimePeriod withEvents(List<DetectorAbnormalTimePeriod> events)
events - the events value to set.public List<Solution> solutions()
public AbnormalTimePeriod withSolutions(List<Solution> solutions)
solutions - the solutions value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.