Class DetectorAbnormalTimePeriod

java.lang.Object
com.microsoft.azure.management.appservice.DetectorAbnormalTimePeriod

public class DetectorAbnormalTimePeriod extends Object
Class representing Abnormal Time Period detected.
  • 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

      public DetectorAbnormalTimePeriod withStartTime(org.joda.time.DateTime startTime)
      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

      public DetectorAbnormalTimePeriod withEndTime(org.joda.time.DateTime endTime)
      Set end time of the correlated event.
      Parameters:
      endTime - the endTime value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.
    • message

      public String message()
      Get message describing the event.
      Returns:
      the message value
    • withMessage

      public DetectorAbnormalTimePeriod withMessage(String message)
      Set message describing the event.
      Parameters:
      message - the message value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.
    • source

      public String source()
      Get represents the name of the Detector.
      Returns:
      the source value
    • withSource

      public DetectorAbnormalTimePeriod withSource(String source)
      Set represents the name of the Detector.
      Parameters:
      source - the source value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.
    • priority

      public Double priority()
      Get represents the rank of the Detector.
      Returns:
      the priority value
    • withPriority

      public DetectorAbnormalTimePeriod withPriority(Double priority)
      Set represents the rank of the Detector.
      Parameters:
      priority - the priority value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.
    • metaData

      public List<List<NameValuePair>> metaData()
      Get downtime metadata.
      Returns:
      the metaData value
    • withMetaData

      public DetectorAbnormalTimePeriod withMetaData(List<List<NameValuePair>> metaData)
      Set downtime metadata.
      Parameters:
      metaData - the metaData value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.
    • type

      public IssueType type()
      Get represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'.
      Returns:
      the type value
    • withType

      public DetectorAbnormalTimePeriod withType(IssueType type)
      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

      public List<Solution> solutions()
      Get list of proposed solutions.
      Returns:
      the solutions value
    • withSolutions

      public DetectorAbnormalTimePeriod withSolutions(List<Solution> solutions)
      Set list of proposed solutions.
      Parameters:
      solutions - the solutions value to set
      Returns:
      the DetectorAbnormalTimePeriod object itself.