Class AbnormalTimePeriod
java.lang.Object
com.microsoft.azure.management.appservice.AbnormalTimePeriod
Class representing Abnormal Time Period identified in diagnosis.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeendTime()Get end time of the downtime.events()Get list of Possible Cause of downtime.Get list of proposed solutions.org.joda.time.DateTimeGet start time of the downtime.withEndTime(org.joda.time.DateTime endTime) Set end time of the downtime.withEvents(List<DetectorAbnormalTimePeriod> events) Set list of Possible Cause of downtime.withSolutions(List<Solution> solutions) Set list of proposed solutions.withStartTime(org.joda.time.DateTime startTime) Set start time of the downtime.
-
Constructor Details
-
AbnormalTimePeriod
public AbnormalTimePeriod()
-
-
Method Details
-
startTime
public org.joda.time.DateTime startTime()Get start time of the downtime.- Returns:
- the startTime value
-
withStartTime
Set start time of the downtime.- Parameters:
startTime- the startTime value to set- Returns:
- the AbnormalTimePeriod object itself.
-
endTime
public org.joda.time.DateTime endTime()Get end time of the downtime.- Returns:
- the endTime value
-
withEndTime
Set end time of the downtime.- Parameters:
endTime- the endTime value to set- Returns:
- the AbnormalTimePeriod object itself.
-
events
Get list of Possible Cause of downtime.- Returns:
- the events value
-
withEvents
Set list of Possible Cause of downtime.- Parameters:
events- the events value to set- Returns:
- the AbnormalTimePeriod object itself.
-
solutions
Get list of proposed solutions.- Returns:
- the solutions value
-
withSolutions
Set list of proposed solutions.- Parameters:
solutions- the solutions value to set- Returns:
- the AbnormalTimePeriod object itself.
-