Class AbnormalTimePeriod
java.lang.Object
com.azure.resourcemanager.appservice.models.AbnormalTimePeriod
Class representing Abnormal Time Period identified in diagnosis.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: End time of the downtime.events()Get the events property: List of Possible Cause of downtime.Get the solutions property: List of proposed solutions.Get the startTime property: Start time of the downtime.voidvalidate()Validates the instance.withEndTime(OffsetDateTime endTime) Set the endTime property: End time of the downtime.withEvents(List<DetectorAbnormalTimePeriod> events) Set the events property: List of Possible Cause of downtime.withSolutions(List<Solution> solutions) Set the solutions property: List of proposed solutions.withStartTime(OffsetDateTime startTime) Set the startTime property: Start time of the downtime.
-
Constructor Details
-
AbnormalTimePeriod
public AbnormalTimePeriod()Creates an instance of AbnormalTimePeriod class.
-
-
Method Details
-
startTime
Get the startTime property: Start time of the downtime.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time of the downtime.- Parameters:
startTime- the startTime value to set.- Returns:
- the AbnormalTimePeriod object itself.
-
endTime
Get the endTime property: End time of the downtime.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time of the downtime.- Parameters:
endTime- the endTime value to set.- Returns:
- the AbnormalTimePeriod object itself.
-
events
Get the events property: List of Possible Cause of downtime.- Returns:
- the events value.
-
withEvents
Set the events property: List of Possible Cause of downtime.- Parameters:
events- the events value to set.- Returns:
- the AbnormalTimePeriod object itself.
-
solutions
Get the solutions property: List of proposed solutions.- Returns:
- the solutions value.
-
withSolutions
Set the solutions property: List of proposed solutions.- Parameters:
solutions- the solutions value to set.- Returns:
- the AbnormalTimePeriod object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-