Class DiagnosticAnalysisInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.DiagnosticAnalysisInner

public final class DiagnosticAnalysisInner extends ProxyOnlyResource
Class representing a diagnostic analysis done on an application.
  • Constructor Details

    • DiagnosticAnalysisInner

      public DiagnosticAnalysisInner()
  • Method Details

    • withKind

      public DiagnosticAnalysisInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Start time of the period.
      Returns:
      the startTime value.
    • withStartTime

      public DiagnosticAnalysisInner withStartTime(OffsetDateTime startTime)
      Set the startTime property: Start time of the period.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the DiagnosticAnalysisInner object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: End time of the period.
      Returns:
      the endTime value.
    • withEndTime

      public DiagnosticAnalysisInner withEndTime(OffsetDateTime endTime)
      Set the endTime property: End time of the period.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the DiagnosticAnalysisInner object itself.
    • abnormalTimePeriods

      public List<AbnormalTimePeriod> abnormalTimePeriods()
      Get the abnormalTimePeriods property: List of time periods.
      Returns:
      the abnormalTimePeriods value.
    • withAbnormalTimePeriods

      public DiagnosticAnalysisInner withAbnormalTimePeriods(List<AbnormalTimePeriod> abnormalTimePeriods)
      Set the abnormalTimePeriods property: List of time periods.
      Parameters:
      abnormalTimePeriods - the abnormalTimePeriods value to set.
      Returns:
      the DiagnosticAnalysisInner object itself.
    • payload

      public List<AnalysisData> payload()
      Get the payload property: Data by each detector.
      Returns:
      the payload value.
    • withPayload

      public DiagnosticAnalysisInner withPayload(List<AnalysisData> payload)
      Set the payload property: Data by each detector.
      Parameters:
      payload - the payload value to set.
      Returns:
      the DiagnosticAnalysisInner object itself.
    • nonCorrelatedDetectors

      public List<DetectorDefinition> nonCorrelatedDetectors()
      Get the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
      Returns:
      the nonCorrelatedDetectors value.
    • withNonCorrelatedDetectors

      public DiagnosticAnalysisInner withNonCorrelatedDetectors(List<DetectorDefinition> nonCorrelatedDetectors)
      Set the nonCorrelatedDetectors property: Data by each detector for detectors that did not corelate.
      Parameters:
      nonCorrelatedDetectors - the nonCorrelatedDetectors value to set.
      Returns:
      the DiagnosticAnalysisInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.