Class AbnormalTimePeriod
- java.lang.Object
-
- com.microsoft.azure.management.appservice.AbnormalTimePeriod
-
public class AbnormalTimePeriod extends Object
Class representing Abnormal Time Period identified in diagnosis.
-
-
Constructor Summary
Constructors Constructor Description AbnormalTimePeriod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimeendTime()Get end time of the downtime.List<DetectorAbnormalTimePeriod>events()Get list of Possible Cause of downtime.List<Solution>solutions()Get list of proposed solutions.org.joda.time.DateTimestartTime()Get start time of the downtime.AbnormalTimePeriodwithEndTime(org.joda.time.DateTime endTime)Set end time of the downtime.AbnormalTimePeriodwithEvents(List<DetectorAbnormalTimePeriod> events)Set list of Possible Cause of downtime.AbnormalTimePeriodwithSolutions(List<Solution> solutions)Set list of proposed solutions.AbnormalTimePeriodwithStartTime(org.joda.time.DateTime startTime)Set start time of the downtime.
-
-
-
Method Detail
-
startTime
public org.joda.time.DateTime startTime()
Get start time of the downtime.- Returns:
- the startTime value
-
withStartTime
public AbnormalTimePeriod withStartTime(org.joda.time.DateTime startTime)
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
public AbnormalTimePeriod withEndTime(org.joda.time.DateTime endTime)
Set end time of the downtime.- Parameters:
endTime- the endTime value to set- Returns:
- the AbnormalTimePeriod object itself.
-
events
public List<DetectorAbnormalTimePeriod> events()
Get list of Possible Cause of downtime.- Returns:
- the events value
-
withEvents
public AbnormalTimePeriod withEvents(List<DetectorAbnormalTimePeriod> events)
Set list of Possible Cause of downtime.- Parameters:
events- the events value to set- Returns:
- the AbnormalTimePeriod object itself.
-
solutions
public List<Solution> solutions()
Get list of proposed solutions.- Returns:
- the solutions value
-
withSolutions
public AbnormalTimePeriod withSolutions(List<Solution> solutions)
Set list of proposed solutions.- Parameters:
solutions- the solutions value to set- Returns:
- the AbnormalTimePeriod object itself.
-
-