Condividi tramite


DetectorAbnormalTimePeriod Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DetectorAbnormalTimePeriod

Implements

public final class DetectorAbnormalTimePeriod
implements JsonSerializable<DetectorAbnormalTimePeriod>

Class representing Abnormal Time Period detected.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: End time of the correlated event.

static DetectorAbnormalTimePeriod fromJson(JsonReader jsonReader)

Reads an instance of DetectorAbnormalTimePeriod from the JsonReader.

String message()

Get the message property: Message describing the event.

List<List<NameValuePair>> metadata()

Get the metadata property: Downtime metadata.

Double priority()

Get the priority property: Represents the rank of the Detector.

List<Solution> solutions()

Get the solutions property: List of proposed solutions.

String source()

Get the source property: Represents the name of the Detector.

OffsetDateTime startTime()

Get the startTime property: Start time of the correlated event.

JsonWriter toJson(JsonWriter jsonWriter)
IssueType type()

Get the type property: Represents the type of the Detector.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the correlated event.

Returns:

the endTime value.

fromJson

public static DetectorAbnormalTimePeriod fromJson(JsonReader jsonReader)

Reads an instance of DetectorAbnormalTimePeriod from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DetectorAbnormalTimePeriod if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DetectorAbnormalTimePeriod.

message

public String message()

Get the message property: Message describing the event.

Returns:

the message value.

metadata

public List<List<NameValuePair>> metadata()

Get the metadata property: Downtime metadata.

Returns:

the metadata value.

priority

public Double priority()

Get the priority property: Represents the rank of the Detector.

Returns:

the priority value.

solutions

public List<Solution> solutions()

Get the solutions property: List of proposed solutions.

Returns:

the solutions value.

source

public String source()

Get the source property: Represents the name of the Detector.

Returns:

the source value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of the correlated event.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public IssueType type()

Get the type property: Represents the type of the Detector.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to