DiagnosticDetectorResponseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DiagnosticDetectorResponseInner
- com.
- com.
- com.
public final class DiagnosticDetectorResponseInner
extends ProxyOnlyResource
Class representing Response from Diagnostic Detectors.
Constructor Summary
Constructor | Description |
---|---|
DiagnosticDetectorResponseInner() |
Creates an instance of Diagnostic |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Detector |
abnormalTimePeriods()
Get the abnormal |
List<List<Name |
data()
Get the data property: Additional Data that detector wants to send. |
Detector |
detectorDefinition()
Get the detector |
Offset |
endTime()
Get the end |
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
issueDetected()
Get the issue |
List<Diagnostic |
metrics()
Get the metrics property: Metrics provided by the detector. |
String |
name()
Get the name property: The name of the resource. |
Response |
responseMetadata()
Get the response |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Diagnostic |
withAbnormalTimePeriods(List<DetectorAbnormalTimePeriod> abnormalTimePeriods)
Set the abnormal |
Diagnostic |
withData(List<List<NameValuePair>> data)
Set the data property: Additional Data that detector wants to send. |
Diagnostic |
withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detector |
Diagnostic |
withEndTime(OffsetDateTime endTime)
Set the end |
Diagnostic |
withIssueDetected(Boolean issueDetected)
Set the issue |
Diagnostic |
withKind(String kind)
Set the kind property: Kind of resource. |
Diagnostic |
withMetrics(List<DiagnosticMetricSet> metrics)
Set the metrics property: Metrics provided by the detector. |
Diagnostic |
withResponseMetadata(ResponseMetadata responseMetadata)
Set the response |
Diagnostic |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DiagnosticDetectorResponseInner
public DiagnosticDetectorResponseInner()
Creates an instance of DiagnosticDetectorResponseInner class.
Method Details
abnormalTimePeriods
public List
Get the abnormalTimePeriods property: List of Correlated events found by the detector.
Returns:
data
public List> data()
Get the data property: Additional Data that detector wants to send.
Returns:
detectorDefinition
public DetectorDefinition detectorDefinition()
Get the detectorDefinition property: Detector's definition.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.
Returns:
fromJson
public static DiagnosticDetectorResponseInner fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticDetectorResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DiagnosticDetectorResponseInner.id()Returns:
issueDetected
public Boolean issueDetected()
Get the issueDetected property: Flag representing Issue was detected.
Returns:
metrics
public List
Get the metrics property: Metrics provided by the detector.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DiagnosticDetectorResponseInner.name()Returns:
responseMetadata
public ResponseMetadata responseMetadata()
Get the responseMetadata property: Meta Data.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiagnosticDetectorResponseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DiagnosticDetectorResponseInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DiagnosticDetectorResponseInner.validate()withAbnormalTimePeriods
public DiagnosticDetectorResponseInner withAbnormalTimePeriods(List
Set the abnormalTimePeriods property: List of Correlated events found by the detector.
Parameters:
Returns:
withData
public DiagnosticDetectorResponseInner withData(List> data)
Set the data property: Additional Data that detector wants to send.
Parameters:
Returns:
withDetectorDefinition
public DiagnosticDetectorResponseInner withDetectorDefinition(DetectorDefinition detectorDefinition)
Set the detectorDefinition property: Detector's definition.
Parameters:
Returns:
withEndTime
public DiagnosticDetectorResponseInner withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
Parameters:
Returns:
withIssueDetected
public DiagnosticDetectorResponseInner withIssueDetected(Boolean issueDetected)
Set the issueDetected property: Flag representing Issue was detected.
Parameters:
Returns:
withKind
public DiagnosticDetectorResponseInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DiagnosticDetectorResponseInner.withKind(String kind)Parameters:
withMetrics
public DiagnosticDetectorResponseInner withMetrics(List
Set the metrics property: Metrics provided by the detector.
Parameters:
Returns:
withResponseMetadata
public DiagnosticDetectorResponseInner withResponseMetadata(ResponseMetadata responseMetadata)
Set the responseMetadata property: Meta Data.
Parameters:
Returns:
withStartTime
public DiagnosticDetectorResponseInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
Parameters:
Returns:
Applies to
Azure SDK for Java