AnomalyAlert Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. models. AnomalyAlert
- com.
Implements
public final class AnomalyAlert
implements JsonSerializable<AnomalyAlert>
The AnomalyAlert model.
Constructor Summary
Constructor | Description |
---|---|
AnomalyAlert() |
Creates an instance of Anomaly |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Anomaly |
fromJson(JsonReader jsonReader)
Reads an instance of Anomaly |
Offset |
getCreatedTime()
Get the created |
String |
getId()
Get the id property: alert id. |
Offset |
getModifiedTime()
Get the modified |
Offset |
getTimestamp()
Get the timestamp property: anomaly time. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AnomalyAlert
public AnomalyAlert()
Creates an instance of AnomalyAlert class.
Method Details
fromJson
public static AnomalyAlert fromJson(JsonReader jsonReader)
Reads an instance of AnomalyAlert from the JsonReader.
Parameters:
Returns:
Throws:
getCreatedTime
public OffsetDateTime getCreatedTime()
Get the createdTime property: created time.
Returns:
getId
public String getId()
Get the id property: alert id.
Returns:
getModifiedTime
public OffsetDateTime getModifiedTime()
Get the modifiedTime property: modified time.
Returns:
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: anomaly time.
Returns:
toJson
Applies to
Azure SDK for Java