Class DiagnosticDetectorResponseInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.DiagnosticDetectorResponseInner
-
public final class DiagnosticDetectorResponseInner extends ProxyOnlyResource
Class representing Response from Diagnostic Detectors.
-
-
Constructor Summary
Constructors Constructor Description DiagnosticDetectorResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DetectorAbnormalTimePeriod>abnormalTimePeriods()Get the abnormalTimePeriods property: List of Correlated events found by the detector.List<List<NameValuePair>>data()Get the data property: Additional Data that detector wants to send.DetectorDefinitiondetectorDefinition()Get the detectorDefinition property: Detector's definition.OffsetDateTimeendTime()Get the endTime property: End time of the period.BooleanissueDetected()Get the issueDetected property: Flag representing Issue was detected.List<DiagnosticMetricSet>metrics()Get the metrics property: Metrics provided by the detector.ResponseMetadataresponseMetadata()Get the responseMetadata property: Meta Data.OffsetDateTimestartTime()Get the startTime property: Start time of the period.voidvalidate()Validates the instance.DiagnosticDetectorResponseInnerwithAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)Set the abnormalTimePeriods property: List of Correlated events found by the detector.DiagnosticDetectorResponseInnerwithData(List<List<NameValuePair>> data)Set the data property: Additional Data that detector wants to send.DiagnosticDetectorResponseInnerwithDetectorDefinition(DetectorDefinition detectorDefinition)Set the detectorDefinition property: Detector's definition.DiagnosticDetectorResponseInnerwithEndTime(OffsetDateTime endTime)Set the endTime property: End time of the period.DiagnosticDetectorResponseInnerwithIssueDetected(Boolean issueDetected)Set the issueDetected property: Flag representing Issue was detected.DiagnosticDetectorResponseInnerwithKind(String kind)Set the kind property: Kind of resource.DiagnosticDetectorResponseInnerwithMetrics(List<DiagnosticMetricSet> metrics)Set the metrics property: Metrics provided by the detector.DiagnosticDetectorResponseInnerwithResponseMetadata(ResponseMetadata responseMetadata)Set the responseMetadata property: Meta Data.DiagnosticDetectorResponseInnerwithStartTime(OffsetDateTime startTime)Set the startTime property: Start time of the period.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public DiagnosticDetectorResponseInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- 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 DiagnosticDetectorResponseInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.- Parameters:
startTime- the startTime value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.- Returns:
- the endTime value.
-
withEndTime
public DiagnosticDetectorResponseInner withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.- Parameters:
endTime- the endTime value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
issueDetected
public Boolean issueDetected()
Get the issueDetected property: Flag representing Issue was detected.- Returns:
- the issueDetected value.
-
withIssueDetected
public DiagnosticDetectorResponseInner withIssueDetected(Boolean issueDetected)
Set the issueDetected property: Flag representing Issue was detected.- Parameters:
issueDetected- the issueDetected value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
detectorDefinition
public DetectorDefinition detectorDefinition()
Get the detectorDefinition property: Detector's definition.- Returns:
- the detectorDefinition value.
-
withDetectorDefinition
public DiagnosticDetectorResponseInner withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector's definition.- Parameters:
detectorDefinition- the detectorDefinition value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
metrics
public List<DiagnosticMetricSet> metrics()
Get the metrics property: Metrics provided by the detector.- Returns:
- the metrics value.
-
withMetrics
public DiagnosticDetectorResponseInner withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Metrics provided by the detector.- Parameters:
metrics- the metrics value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
abnormalTimePeriods
public List<DetectorAbnormalTimePeriod> abnormalTimePeriods()
Get the abnormalTimePeriods property: List of Correlated events found by the detector.- Returns:
- the abnormalTimePeriods value.
-
withAbnormalTimePeriods
public DiagnosticDetectorResponseInner withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
Set the abnormalTimePeriods property: List of Correlated events found by the detector.- Parameters:
abnormalTimePeriods- the abnormalTimePeriods value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
data
public List<List<NameValuePair>> data()
Get the data property: Additional Data that detector wants to send.- Returns:
- the data value.
-
withData
public DiagnosticDetectorResponseInner withData(List<List<NameValuePair>> data)
Set the data property: Additional Data that detector wants to send.- Parameters:
data- the data value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
responseMetadata
public ResponseMetadata responseMetadata()
Get the responseMetadata property: Meta Data.- Returns:
- the responseMetadata value.
-
withResponseMetadata
public DiagnosticDetectorResponseInner withResponseMetadata(ResponseMetadata responseMetadata)
Set the responseMetadata property: Meta Data.- Parameters:
responseMetadata- the responseMetadata value to set.- Returns:
- the DiagnosticDetectorResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-