Class DetectorAbnormalTimePeriod
java.lang.Object
com.microsoft.azure.management.appservice.DetectorAbnormalTimePeriod
Class representing Abnormal Time Period detected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
endTime()
Get end time of the correlated event.message()
Get message describing the event.metaData()
Get downtime metadata.priority()
Get represents the rank of the Detector.Get list of proposed solutions.source()
Get represents the name of the Detector.org.joda.time.DateTime
Get start time of the correlated event.type()
Get represents the type of the Detector.withEndTime
(org.joda.time.DateTime endTime) Set end time of the correlated event.withMessage
(String message) Set message describing the event.withMetaData
(List<List<NameValuePair>> metaData) Set downtime metadata.withPriority
(Double priority) Set represents the rank of the Detector.withSolutions
(List<Solution> solutions) Set list of proposed solutions.withSource
(String source) Set represents the name of the Detector.withStartTime
(org.joda.time.DateTime startTime) Set start time of the correlated event.Set represents the type of the Detector.
-
Constructor Details
-
DetectorAbnormalTimePeriod
public DetectorAbnormalTimePeriod()
-
-
Method Details
-
startTime
public org.joda.time.DateTime startTime()Get start time of the correlated event.- Returns:
- the startTime value
-
withStartTime
Set start time of the correlated event.- Parameters:
startTime
- the startTime value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
endTime
public org.joda.time.DateTime endTime()Get end time of the correlated event.- Returns:
- the endTime value
-
withEndTime
Set end time of the correlated event.- Parameters:
endTime
- the endTime value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
message
Get message describing the event.- Returns:
- the message value
-
withMessage
Set message describing the event.- Parameters:
message
- the message value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
source
Get represents the name of the Detector.- Returns:
- the source value
-
withSource
Set represents the name of the Detector.- Parameters:
source
- the source value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
priority
Get represents the rank of the Detector.- Returns:
- the priority value
-
withPriority
Set represents the rank of the Detector.- Parameters:
priority
- the priority value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
metaData
Get downtime metadata.- Returns:
- the metaData value
-
withMetaData
Set downtime metadata.- Parameters:
metaData
- the metaData value to set- Returns:
- the DetectorAbnormalTimePeriod object itself.
-
type
Get represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'.- Returns:
- the type value
-
withType
Set represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'.- Parameters:
type
- the type value to set- Returns:
- the DetectorAbnormalTimePeriod 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 DetectorAbnormalTimePeriod object itself.
-